From 78b77be8fb69bdc578cea11a05557da5d263caa5 Mon Sep 17 00:00:00 2001 From: Florian Friedrich Date: Mon, 11 Mar 2024 18:02:34 +0100 Subject: [PATCH] Fix tests on visionOS --- Tests/AppGroupsTests/AppGroupTests.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/AppGroupsTests/AppGroupTests.swift b/Tests/AppGroupsTests/AppGroupTests.swift index 15943a3..47e0308 100644 --- a/Tests/AppGroupsTests/AppGroupTests.swift +++ b/Tests/AppGroupsTests/AppGroupTests.swift @@ -31,11 +31,10 @@ final class AppGroupTests: XCTestCase { func testAccessors() { let appGroup = AppGroup(identifier: "group.test.accessors") -#if !os(visionOS) // No idea why it works on these platforms... XCTAssertNotNil(appGroup.userDefaults) +#if !os(visionOS) // No idea why it works on non visionOS platforms... XCTAssertNotNil(appGroup.fileSystem) #else - XCTAssertNil(appGroup.userDefaults) XCTAssertNil(appGroup.fileSystem) #endif }