commit | a30ae40556e7b110d2e53a8909fc2e4ba00cccb5 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Sun Dec 20 15:28:03 2015 -0800 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Sun Dec 20 15:28:03 2015 -0800 |
tree | 466b2319511f6977be7a93daea469dd6182cf320 | |
parent | 8dce296721e18b5191067ffe4c764c7d24506642 [diff] | |
parent | 73efba1db93893dfca7416bf58b3cf7a87889644 [diff] |
Merge pull request #19 from jasonnoahchoi/incrementoperators Change ++ to += 1 based on swift proposal SE-0004
diff --git a/XCTest/XCTestCase.swift b/XCTest/XCTestCase.swift index a203fc6..f3523a1 100644 --- a/XCTest/XCTestCase.swift +++ b/XCTest/XCTestCase.swift
@@ -49,9 +49,9 @@ totalDuration += duration for failure in XCTCurrentFailures { failure.emit(method) - totalFailures++ + totalFailures += 1 if !failure.expected { - unexpectedFailures++ + unexpectedFailures += 1 } } var result = "passed"