File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1785,10 +1785,10 @@ VIDEOS=StopgapVideos
1785
1785
1786
1786
// Relative Paths
1787
1787
" . \\ testfile " ,
1788
- " .. \\ \( tmpPath. lastPathComponent) \\ . \\ testfile " ,
1788
+ " .. \\ \( ( tmpPath as NSString ) . lastPathComponent) \\ . \\ testfile " ,
1789
1789
" testfile " ,
1790
1790
" ./testfile " ,
1791
- " ../ \( tmpPath. lastPathComponent) /./testfile " ,
1791
+ " ../ \( ( tmpPath as NSString ) . lastPathComponent) /./testfile " ,
1792
1792
1793
1793
// UNC Paths
1794
1794
" \\ \\ . \\ \( tmpPath) \\ testfile " ,
Original file line number Diff line number Diff line change @@ -855,7 +855,9 @@ class TestJSONEncoder : XCTestCase {
855
855
856
856
func test_OutputFormattingValues( ) {
857
857
XCTAssertEqual ( JSONEncoder . OutputFormatting. prettyPrinted. rawValue, 1 )
858
- XCTAssertEqual ( JSONEncoder . OutputFormatting. sortedKeys. rawValue, 2 )
858
+ if #available( OSX 10 . 13 , * ) {
859
+ XCTAssertEqual ( JSONEncoder . OutputFormatting. sortedKeys. rawValue, 2 )
860
+ }
859
861
XCTAssertEqual ( JSONEncoder . OutputFormatting. withoutEscapingSlashes. rawValue, 8 )
860
862
}
861
863
You can’t perform that action at this time.
0 commit comments