Skip to content

Commit

Permalink
Fix IsSimulator test to account for 5a4ee49 change
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentneo committed Sep 21, 2023
1 parent 9b44078 commit 488c0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/DeviceFamilyTests.swift
Expand Up @@ -48,7 +48,7 @@ class DeviceFamilyTests: XCTestCase {

func testDeviceIsSimulator() {
let deviceFamily = DeviceFamily(rawValue: "iPhone")
#if arch(i386) || arch(x86_64)
#if targetEnvironment(simulator)
XCTAssert(deviceFamily.isSimulator, "DeviceFamily - .isSimulator is failing")
#else
XCTAssert(!(deviceFamily.isSimulator), "DeviceFamily - .isSimulator is failing")
Expand Down

0 comments on commit 488c0dd

Please sign in to comment.