1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: fix an incorrect name test

This commit is contained in:
Alexander Medvednikov 2020-08-16 19:24:00 +02:00
parent f965ddae49
commit b2059c481a
2 changed files with 3 additions and 3 deletions

View File

@ -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
| ~~~~~~~~~~

View File

@ -1 +1 @@
__global A := 1
__global A int = 1