Skip to content

Commit

Permalink
Merge pull request #8 from daehn/feature/remove-xcode-7.3-warnings
Browse files Browse the repository at this point in the history
Fix Swift 2.2 warnings
  • Loading branch information
daehn committed Mar 25, 2016
2 parents c3eac77 + e627944 commit 3254739
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DieTests/DieTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class DieTests: XCTestCase {

@noreturn private func mockExit(status: Int32) {
exitStatus = status
callCount++
callCount += 1
expectation?.fulfill()
repeat { NSThread.sleepForTimeInterval(0.1) } while (true)
}
Expand Down Expand Up @@ -166,7 +166,7 @@ class DieTests: XCTestCase {

// MARK: - Helper

func assertThatItCallsDie(shouldCall: Bool = true, line: UInt = __LINE__ , file: String = __FILE__, block: () -> Void) {
func assertThatItCallsDie(shouldCall: Bool = true, line: UInt = #line , file: String = #file, block: () -> Void) {
// when
dispatchAndWaitForDie(timeout: 2, block: block)

Expand Down
4 changes: 4 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
machine:
xcode:
version: "7.3"

test:
override:
- xcodebuild clean test -scheme Die
Expand Down

0 comments on commit 3254739

Please sign in to comment.