checker: fix an incorrect name test
parent
f965ddae49
commit
b2059c481a
|
@ -1,3 +1,3 @@
|
|||
vlib/v/checker/tests/globals/incorrect_name_global.v:1:1: error: global name `A` cannot contain uppercase letters, use snake_case instead
|
||||
1 | __global A := 1
|
||||
| ~~~~~~~~~~
|
||||
1 | __global A int = 1
|
||||
| ~~~~~~~~~~
|
||||
|
|
|
@ -1 +1 @@
|
|||
__global A := 1
|
||||
__global A int = 1
|
||||
|
|
Loading…
Reference in New Issue