Skip to content

Commit 4adf65f

Browse files
committed
Update code for Swift 2.2 (Xcode 7.3.1)
- Update cedar - Change Swift's Fox.Assert to use String instead of StaticString because this is a breaking change in XCTest
1 parent b57b084 commit 4adf65f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Externals/cedar

Submodule cedar updated from 4a065d6 to 1a67d00

Fox/Public/DSL.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ public func Assert(
66
seed: UInt? = nil,
77
numberOfTests: UInt? = nil,
88
maximumSize: UInt? = nil,
9-
file: String = __FILE__,
10-
line: UInt = __LINE__) {
9+
file: StaticString = #file,
10+
line: UInt = #line) {
1111

1212
let theSeed = (seed != nil) ? seed! : FOXGetSeed()
1313
let numTests = (numberOfTests != nil) ? numberOfTests! : FOXGetNumberOfTests()

0 commit comments

Comments
 (0)