Skip to content

Commit cbfcbb6

Browse files
authored
Update SwitchHandlerTests.cs
1 parent 2d42850 commit cbfcbb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core/tests/DeviceTests/Handlers/Switch/SwitchHandlerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ await AttachAndRun(switchStub, async (handler) =>
5555
await ValidateTrackColor(switchStub, Colors.Red);
5656
});
5757
}
58-
#endif
5958

6059
[Fact(DisplayName = "Track Color Updates Correctly")]
6160
public async Task TrackColorUpdatesCorrectly()
@@ -69,6 +68,7 @@ await AttachAndRun(switchStub, async (handler) =>
6968
await ValidateTrackColor(switchStub, Colors.Red, () => switchStub.TrackColor = Colors.Red);
7069
});
7170
}
71+
#endif
7272

7373
[Fact(DisplayName = "ThumbColor Initializes Correctly", Skip = "There seems to be an issue, so disable for now: https://github.com/dotnet/maui/issues/1275")]
7474
public async Task ThumbColorInitializesCorrectly()
@@ -133,4 +133,4 @@ public async Task NativeIsOnPropagatesToVirtual()
133133
Assert.True(isOn);
134134
}
135135
}
136-
}
136+
}

0 commit comments

Comments
 (0)