Skip to content

Commit

Permalink
enable styleCheck:usages for tests [backport: 1.4]
Browse files Browse the repository at this point in the history
Follow nim-lang#19318, make the stdlib follow usages style as much as possible so that developers can use stylecheck:usages too if they import stdlib.
  • Loading branch information
ringabout committed Jan 4, 2022
1 parent 0992854 commit 675eaa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ switch("define", "nimUnittestColor:off")

switch("define", "nimLegacyTypeMismatch")

switch("styleCheck", "usages")
switch("styleCheck", "error")

hint("Processing", off)
# dots can cause annoyances; instead, a single test can test `hintProcessing`

Expand Down

0 comments on commit 675eaa8

Please sign in to comment.