aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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