Skip to content

Commit

Permalink
Use doAssert in tests/pragmas/tlocks.nim
Browse files Browse the repository at this point in the history
Co-authored-by: Saem Ghani <[email protected]>
  • Loading branch information
Clyybber and saem authored Mar 8, 2024
1 parent 5a44f5c commit 4296976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pragmas/tlocks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ proc plain2*() {.locks: "unknown".} =
discard

# ensure char literals are rejected
assert not compiles (;
doAssert not compiles (;
proc plain3() {.locks: 'c'.} =
discard
)

0 comments on commit 4296976

Please sign in to comment.