diff options
| author | RblSb <msrblsb@gmail.com> | 2023-06-20 23:33:13 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2023-06-20 23:33:13 +0300 |
| commit | c476a16ad982e778580d74b8e4120ed29118129a (patch) | |
| tree | c326895bc9eb57cf50123eadb049ec73b3a201f2 /test | |
| parent | cdf7f00f613d636e587b7840ec8b263017513486 (diff) | |
Scroll to chat end button
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests/TestTimer.hx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/tests/TestTimer.hx b/test/tests/TestTimer.hx index 8a22cc9..1261553 100644 --- a/test/tests/TestTimer.hx +++ b/test/tests/TestTimer.hx @@ -165,7 +165,7 @@ class TestTimer extends Test { } function almostEq(a:Float, b:Float, ?p:PosInfos):Void { - if (isMacCI()) { + if (isMacCI() || isWindowsCI()) { Assert.isTrue(Math.abs(a - b) < 0.5); return; } @@ -175,4 +175,8 @@ class TestTimer extends Test { function isMacCI():Bool { return Sys.systemName() == "Mac" && Sys.environment()["CI"] == "true"; } + + function isWindowsCI():Bool { + return Sys.systemName() == "Windows" && Sys.environment()["CI"] == "true"; + } } |
