Skip to content

Commit

Permalink
Fix bridging test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
marcprux committed Nov 4, 2024
1 parent 890f827 commit 2c94bf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SkipAndroidBridgeTests/AndroidBridgeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ final class AndroidBridgeTests: XCTestCase {
// Robolectric's files folder is tough to predict /var/folders/zl/wkdjv4s1271fbm6w0plzknkh0000gn/T/robolectric-AndroidBridgeTests_testAndroidBridge_SkipAndroidBridge_debugUnitTest10131350412654065418/skip.android.bridge.test-dataDir/files
if !isRobolectric {
// …but Android is predictable
XCTAssertEqual("/data/user/0/skip.android.bridge.test/files", filesDir)
XCTAssertEqual("/data/user/0/skip.android.bridge.test/cache", cacheDir)
XCTAssertEqual("/data/user/0/skip.android.bridge.test/files", filesDir.path)
XCTAssertEqual("/data/user/0/skip.android.bridge.test/cache", cacheDir.path)
}

// make sure we can read and write to the filesDir
Expand Down

0 comments on commit 2c94bf5

Please sign in to comment.