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,11 +1,9 @@
|
|||
discard """
|
||||
action: reject
|
||||
nimout: '''tusages.nim(22, 5) Error: 'BAD_STYLE' should be: 'BADSTYLE' [proc declared in tusages.nim(11, 6)]'''
|
||||
matrix: "--styleCheck:error --styleCheck:usages"
|
||||
nimout: '''tusages.nim(20, 5) Error: 'BAD_STYLE' should be: 'BADSTYLE' [proc declared in tusages.nim(9, 6)]'''
|
||||
matrix: "--styleCheck:error --styleCheck:usages --hint:all:off --hint:Name:on"
|
||||
"""
|
||||
|
||||
|
||||
|
||||
import strutils
|
||||
|
||||
proc BADSTYLE(c: char) = discard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue