mirror of
https://github.com/gosticks/SwiftGit2.git
synced 2025-10-16 11:55:34 +00:00
[Lint] Wrap long lines, ignoring function declarations
This commit is contained in:
parent
cedeccf6f7
commit
9d2b5e5b87
@ -25,6 +25,9 @@ excluded:
|
||||
- Carthage
|
||||
- External
|
||||
|
||||
line_length:
|
||||
ignores_function_declarations: true
|
||||
|
||||
trailing_comma:
|
||||
mandatory_comma: true
|
||||
|
||||
|
||||
@ -752,7 +752,8 @@ class RepositorySpec: QuickSpec {
|
||||
expect(repo.commits(in: updatedBranch).next()?.value?.author).to(equal(signature))
|
||||
expect(repo.commits(in: updatedBranch).next()?.value?.committer).to(equal(signature))
|
||||
expect(repo.commits(in: updatedBranch).next()?.value?.message).to(equal("\(message)\n"))
|
||||
expect(repo.commits(in: updatedBranch).next()?.value?.oid.description).to(equal("7d6b2d7492f29aee48022387f96dbfe996d435fe"))
|
||||
expect(repo.commits(in: updatedBranch).next()?.value?.oid.description)
|
||||
.to(equal("7d6b2d7492f29aee48022387f96dbfe996d435fe"))
|
||||
|
||||
// should be clean now
|
||||
let newStatus = repo.status()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user