Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Mar 11, 2024
1 parent faf4fa3 commit 3d4df6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_results.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -134,7 +134,7 @@ block:
except:
discard

when (NimMajor, NimMinor) >= (1, 6):
when (NimMajor, NimMinor, NimPatch) >= (1, 6, 12):
{.warning[BareExcept]: on.}

# Comparisons
Expand Down

0 comments on commit 3d4df6e

Please sign in to comment.