@@ -11,8 +11,8 @@ import XCTest
1111
1212final class FileSystemTests : GateEngineXCTestCase {
1313 func testDirectoryCreateExistsMoveDelete( ) async throws {
14- let fileSystem = await Platform . current. fileSystem
15- var path = try await fileSystem. pathForSearchPath ( . persistent, in: . currentUser)
14+ let fileSystem = Platform . current. fileSystem
15+ var path = try fileSystem. pathForSearchPath ( . persistent, in: . currentUser)
1616 path += " /test-NewFolder "
1717 var result = await fileSystem. itemExists ( at: path)
1818 XCTAssertFalse ( result)
@@ -37,8 +37,8 @@ final class FileSystemTests: GateEngineXCTestCase {
3737 }
3838
3939 func testFileWriteReadExistsMoveDelete( ) async throws {
40- let fileSystem = await Platform . current. fileSystem
41- let path = try await fileSystem. pathForSearchPath ( . persistent, in: . currentUser) + " /test-NewFile "
40+ let fileSystem = Platform . current. fileSystem
41+ let path = try fileSystem. pathForSearchPath ( . persistent, in: . currentUser) + " /test-NewFile "
4242 var result = await fileSystem. itemExists ( at: path)
4343 XCTAssertFalse ( result)
4444
@@ -69,8 +69,8 @@ final class FileSystemTests: GateEngineXCTestCase {
6969 }
7070
7171 func testItemType( ) async throws {
72- let fileSystem = await Platform . current. fileSystem
73- let path = try await fileSystem. pathForSearchPath ( . persistent, in: . currentUser)
72+ let fileSystem = Platform . current. fileSystem
73+ let path = try fileSystem. pathForSearchPath ( . persistent, in: . currentUser)
7474
7575 let dirPath = path + " /test-HelloDir "
7676 try await fileSystem. createDirectory ( at: dirPath)
0 commit comments