From 3d4df6ec3f50c0e245e77dadb305fd9bd28f2e6f Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 11 Mar 2024 08:44:04 +0100 Subject: [PATCH] fix test --- tests/test_results.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_results.nim b/tests/test_results.nim index 9637cea..9f6f90f 100644 --- a/tests/test_results.nim +++ b/tests/test_results.nim @@ -125,7 +125,7 @@ block: doAssert d.isErr # De-reference - when (NimMajor, NimMinor) >= (1, 6): + when (NimMajor, NimMinor, NimPatch) >= (1, 6, 12): {.warning[BareExcept]: off.} try: @@ -134,7 +134,7 @@ block: except: discard - when (NimMajor, NimMinor) >= (1, 6): + when (NimMajor, NimMinor, NimPatch) >= (1, 6, 12): {.warning[BareExcept]: on.} # Comparisons