aboutsummaryrefslogtreecommitdiffstats
path: root/test/tests/TestTimer.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2023-06-20 23:33:13 +0300
committerRblSb <msrblsb@gmail.com>2023-06-20 23:33:13 +0300
commitc476a16ad982e778580d74b8e4120ed29118129a (patch)
treec326895bc9eb57cf50123eadb049ec73b3a201f2 /test/tests/TestTimer.hx
parentcdf7f00f613d636e587b7840ec8b263017513486 (diff)
Scroll to chat end button
Diffstat (limited to 'test/tests/TestTimer.hx')
-rw-r--r--test/tests/TestTimer.hx6
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";
+ }
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage