From c476a16ad982e778580d74b8e4120ed29118129a Mon Sep 17 00:00:00 2001 From: RblSb Date: Tue, 20 Jun 2023 23:33:13 +0300 Subject: Scroll to chat end button --- test/tests/TestTimer.hx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/tests/TestTimer.hx') 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"; + } } -- cgit v1.2.3