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,8 +1,8 @@
|
|||
discard """
|
||||
matrix: "--styleCheck:off"
|
||||
matrix: "--styleCheck:off --hint:Name:on"
|
||||
"""
|
||||
|
||||
{.hintAsError[Name]:on.}
|
||||
var a_b = 1
|
||||
discard a_b
|
||||
{.hintAsError[Name]:off.}
|
||||
{.hintAsError[Name]:off.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue