@@ -38,7 +38,7 @@ class TestNSFileManager : XCTestCase {
3838
3939 func test_createDirectory( ) {
4040 let fm = FileManager . default ( )
41- let path = " /tmp/testdir \( NSUUID ( ) . UUIDString ) "
41+ let path = " /tmp/testdir \( NSUUID ( ) . uuidString ) "
4242
4343 ignoreError { try fm. removeItem ( atPath: path) }
4444
@@ -63,7 +63,7 @@ class TestNSFileManager : XCTestCase {
6363
6464 func test_createFile( ) {
6565 let fm = FileManager . default ( )
66- let path = " /tmp/testfile \( NSUUID ( ) . UUIDString ) "
66+ let path = " /tmp/testfile \( NSUUID ( ) . uuidString ) "
6767
6868 ignoreError { try fm. removeItem ( atPath: path) }
6969
@@ -83,8 +83,8 @@ class TestNSFileManager : XCTestCase {
8383
8484 func test_moveFile( ) {
8585 let fm = FileManager . default ( )
86- let path = " /tmp/testfile \( NSUUID ( ) . UUIDString ) "
87- let path2 = " /tmp/testfile2 \( NSUUID ( ) . UUIDString ) "
86+ let path = " /tmp/testfile \( NSUUID ( ) . uuidString ) "
87+ let path2 = " /tmp/testfile2 \( NSUUID ( ) . uuidString ) "
8888
8989 func cleanup( ) {
9090 ignoreError { try fm. removeItem ( atPath: path) }
@@ -114,7 +114,7 @@ class TestNSFileManager : XCTestCase {
114114
115115 func test_fileAttributes( ) {
116116 let fm = FileManager . default ( )
117- let path = " /tmp/test_fileAttributes \( NSUUID ( ) . UUIDString ) "
117+ let path = " /tmp/test_fileAttributes \( NSUUID ( ) . uuidString ) "
118118
119119 ignoreError { try fm. removeItem ( atPath: path) }
120120
@@ -161,7 +161,7 @@ class TestNSFileManager : XCTestCase {
161161 }
162162
163163 func test_setFileAttributes( ) {
164- let path = " /tmp/test_setFileAttributes \( NSUUID ( ) . UUIDString ) "
164+ let path = " /tmp/test_setFileAttributes \( NSUUID ( ) . uuidString ) "
165165 let fm = FileManager . default ( )
166166
167167 ignoreError { try fm. removeItem ( atPath: path) }
@@ -188,7 +188,7 @@ class TestNSFileManager : XCTestCase {
188188
189189 func test_pathEnumerator( ) {
190190 let fm = FileManager . default ( )
191- let testDirName = " testdir \( NSUUID ( ) . UUIDString ) "
191+ let testDirName = " testdir \( NSUUID ( ) . uuidString ) "
192192 let basePath = " /tmp/ \( testDirName) "
193193 let itemPath = " /tmp/ \( testDirName) /item "
194194 let basePath2 = " /tmp/ \( testDirName) /path2 "
@@ -221,7 +221,7 @@ class TestNSFileManager : XCTestCase {
221221
222222 func test_directoryEnumerator( ) {
223223 let fm = FileManager . default ( )
224- let testDirName = " testdir \( NSUUID ( ) . UUIDString ) "
224+ let testDirName = " testdir \( NSUUID ( ) . uuidString ) "
225225 let path = " /tmp/ \( testDirName) "
226226 let itemPath = " /tmp/ \( testDirName) /item "
227227
@@ -327,7 +327,7 @@ class TestNSFileManager : XCTestCase {
327327
328328 func test_contentsOfDirectoryAtPath( ) {
329329 let fm = FileManager . default ( )
330- let testDirName = " testdir \( NSUUID ( ) . UUIDString ) "
330+ let testDirName = " testdir \( NSUUID ( ) . uuidString ) "
331331 let path = " /tmp/ \( testDirName) "
332332 let itemPath1 = " /tmp/ \( testDirName) /item "
333333 let itemPath2 = " /tmp/ \( testDirName) /item2 "
0 commit comments