aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testing/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/util.c b/src/testing/util.c
index 81f11209..d569bf5f 100644
--- a/src/testing/util.c
+++ b/src/testing/util.c
@@ -562,7 +562,7 @@ nuts_tran_perf(const char *scheme)
NUTS_ASSERT(end >= now);
}
}
- NUTS_ASSERT(end - now >= 0);
+ NUTS_ASSERT(end >= now);
NUTS_ASSERT(end - now < 10000);
// remove the cost of timing
delta -= (end - now);