* fixes #20397; fixes stylecheck * add testcase
This commit is contained in:
parent
4133698f2d
commit
70c25c45d6
4 changed files with 20 additions and 0 deletions
7
tests/stylecheck/t20397_2.nim
Normal file
7
tests/stylecheck/t20397_2.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
errormsg: "'a_b' should be: 'aB'"
|
||||
matrix: "--styleCheck:error"
|
||||
"""
|
||||
|
||||
var a_b = 1
|
||||
discard a_b
|
||||
Loading…
Add table
Add a link
Reference in a new issue