@@ -37,7 +37,7 @@ class FileSystemTests: XCTestCase {
3737
3838 // isSymlink()
3939 let sym = tempDirPath. appending ( component: " hello " )
40- try ! createSymlink ( sym, pointingAt: file. path)
40+ try ! fs . createSymbolicLink ( sym, pointingAt: file. path)
4141 XCTAssertTrue ( fs. isSymlink ( sym) )
4242 XCTAssertTrue ( fs. isFile ( sym) )
4343 XCTAssertEqual ( try fs. getFileInfo ( sym) . fileType, . typeSymbolicLink)
@@ -46,15 +46,15 @@ class FileSystemTests: XCTestCase {
4646 // isExecutableFile
4747 let executable = tempDirPath. appending ( component: " exec-foo " )
4848 let executableSym = tempDirPath. appending ( component: " exec-sym " )
49- try ! createSymlink ( executableSym, pointingAt: executable)
49+ try ! fs . createSymbolicLink ( executableSym, pointingAt: executable)
5050 let stream = BufferedOutputByteStream ( )
5151 stream <<< """
5252 #!/bin/sh
5353 set -e
5454 exit
5555
5656 """
57- try ! localFileSystem . writeFileContents ( executable, bytes: stream. bytes)
57+ try ! fs . writeFileContents ( executable, bytes: stream. bytes)
5858 try ! Process . checkNonZeroExit ( args: " chmod " , " +x " , executable. pathString)
5959 XCTAssertTrue ( fs. isExecutableFile ( executable) )
6060 XCTAssertTrue ( fs. isExecutableFile ( executableSym) )
@@ -94,7 +94,7 @@ class FileSystemTests: XCTestCase {
9494
9595 // Source and target exist.
9696
97- try createSymlink ( source, pointingAt: target)
97+ try fs . createSymbolicLink ( source, pointingAt: target)
9898 XCTAssertEqual ( fs. exists ( source) , true )
9999 XCTAssertEqual ( fs. exists ( source, followSymlink: true ) , true )
100100 XCTAssertEqual ( fs. exists ( source, followSymlink: false ) , true )
@@ -563,7 +563,7 @@ class FileSystemTests: XCTestCase {
563563 try fs. createDirectory ( dir, recursive: true )
564564 try fs. writeFileContents ( foo, bytes: " " )
565565 try fs. writeFileContents ( bar, bytes: " " )
566- try createSymlink ( sym, pointingAt: foo)
566+ try fs . createSymbolicLink ( sym, pointingAt: foo)
567567
568568 // Set foo to unwritable.
569569 try fs. chmod ( . userUnWritable, path: foo)
0 commit comments