Remove warnings that causes CI to fail

This commit is contained in:
Arnon Keereena 2017-04-29 08:55:56 +02:00
parent aa9f066e04
commit 915b07f4a9

View File

@ -608,7 +608,7 @@ class RepositorySpec: QuickSpec {
var count = 0
let expected = 9
for branch in branches {
while let commit = repo.commits(in: branch).next() {
while repo.commits(in: branch).next() != nil {
count += 1
}
}