Skip to content

Commit daa9f39

Browse files
committed
ScreenTests: Remove invalid constraints
Negative values for cursor position are not invalid
1 parent 6246b44 commit daa9f39

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ElectronNET.IntegrationTests/Tests/ScreenTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ public async Task GetCursorScreenPoint_check()
3737
{
3838
var point = await Electron.Screen.GetCursorScreenPointAsync();
3939
point.Should().NotBeNull();
40-
point.X.Should().BeGreaterThanOrEqualTo(0);
41-
point.Y.Should().BeGreaterThanOrEqualTo(0);
4240
}
4341

4442
[SkippableFact(Timeout = 20000)]

0 commit comments

Comments
 (0)