Skip to content

Commit 5997c46

Browse files
committed
Test fixes for Windows
1 parent 1495cd5 commit 5997c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SQLiteDBTests/Extensions/CipherTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class CipherTests: XCTestCase {
8585
fixture("encrypted-3.x", withExtension: "sqlite") :
8686
fixture("encrypted-4.x", withExtension: "sqlite")
8787

88-
#if !os(Android) && !os(Linux) // file permission modification unsupported on Android
88+
#if !os(Android) && !os(Linux) && !os(Windows) // file permission modification unsupported on non-Darwin platforms
8989
try FileManager.default.setAttributes([FileAttributeKey.immutable: 1], ofItemAtPath: encryptedFile)
9090
XCTAssertFalse(FileManager.default.isWritableFile(atPath: encryptedFile))
9191
#endif

0 commit comments

Comments
 (0)