diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-30 20:55:07 -0500 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-30 20:55:07 -0500 |
| commit | 6a417484cd7327b0092df47457fa8cc7f548955c (patch) | |
| tree | 7df8bc240bdbc827e4bf521b08ef7c1d9441e390 /src | |
| parent | f7333a108a2cfdb7225ed960e11d86147425e81a (diff) | |
| download | nng-6a417484cd7327b0092df47457fa8cc7f548955c.tar.gz nng-6a417484cd7327b0092df47457fa8cc7f548955c.tar.bz2 nng-6a417484cd7327b0092df47457fa8cc7f548955c.zip | |
tests: fix sign bug in comparing times
Diffstat (limited to 'src')
| -rw-r--r-- | src/testing/util.c | 2 |
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); |
