File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 243
243
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
244
244
PRODUCT_BUNDLE_IDENTIFIER = com.willowtree.TreapTests;
245
245
PRODUCT_NAME = "$(TARGET_NAME)";
246
- SWIFT_VERSION = 3 .0;
246
+ SWIFT_VERSION = 4 .0;
247
247
};
248
248
name = Debug;
249
249
};
255
255
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
256
256
PRODUCT_BUNDLE_IDENTIFIER = com.willowtree.TreapTests;
257
257
PRODUCT_NAME = "$(TARGET_NAME)";
258
- SWIFT_VERSION = 3 .0;
258
+ SWIFT_VERSION = 4 .0;
259
259
};
260
260
name = Release;
261
261
};
Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ class TreapTests: XCTestCase {
38
38
super. tearDown ( )
39
39
}
40
40
41
+ func testSwift4( ) {
42
+ // last checked with Xcode 9.0b4
43
+ #if swift(>=4.0)
44
+ print ( " Hello, Swift 4! " )
45
+ #endif
46
+ }
47
+
41
48
func testSanity( ) {
42
49
var treap = Treap < Int , String > . empty
43
50
treap = treap. set ( key: 5 , val: " a " ) . set ( key: 7 , val: " b " )
You can’t perform that action at this time.
0 commit comments