From 6dbcf464131568b7ee1522b51bae86aa4abfb7c7 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Mon, 15 May 2017 04:26:12 +0000 Subject: [PATCH] std.datetime.stopwatch: Fix random test failure on Win32 --- std/datetime/stopwatch.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/datetime/stopwatch.d b/std/datetime/stopwatch.d index 69ab822921d..96e8e2be920 100644 --- a/std/datetime/stopwatch.d +++ b/std/datetime/stopwatch.d @@ -231,7 +231,7 @@ public: sw.stop(); assert(!sw.running); immutable t2 = sw.peek(); - assert(t2 > t1); + assert(t2 >= t1); immutable t3 = sw.peek(); assert(t2 == t3); }