summary refs log tree commit diff stats
path: root/tests/stylecheck/treject.nim
diff options
context:
space:
mode:
authorAnna <cyber@sysrq.in>2023-03-01 22:00:58 +0500
committerGitHub <noreply@github.com>2023-03-01 18:00:58 +0100
commit89d8c0b24678a0b65820692069adffc7bec38ae7 (patch)
treed61da05c1fbdefa84ae82f4a82527207ae4702d1 /tests/stylecheck/treject.nim
parent1b1412f3d148b02fb553f37d84505745cf3fb435 (diff)
downloadNim-89d8c0b24678a0b65820692069adffc7bec38ae7.tar.gz
tests/stylecheck: make sure necessary hints are enabled (#21240)
Diffstat (limited to 'tests/stylecheck/treject.nim')
-rw-r--r--tests/stylecheck/treject.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stylecheck/treject.nim b/tests/stylecheck/treject.nim
index b9d97a58d..458a2d039 100644
--- a/tests/stylecheck/treject.nim
+++ b/tests/stylecheck/treject.nim
@@ -1,7 +1,7 @@
 discard """
   action: reject
   nimout: '''treject.nim(14, 13) Error: 'iD' should be: 'id' [field declared in treject.nim(9, 5)]'''
-  matrix: "--styleCheck:error --styleCheck:usages"
+  matrix: "--styleCheck:error --styleCheck:usages  --hint:Name:on"
 """
 
 type
@@ -14,4 +14,4 @@ template hello =
   echo name.iD
   echo iD
 
-hello()
\ No newline at end of file
+hello()