tests/stylecheck: make sure necessary hints are enabled (#21240)
This commit is contained in:
parent
1b1412f3d1
commit
89d8c0b246
3 changed files with 6 additions and 8 deletions
|
|
@ -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()
|
||||
hello()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue