checker: fix an incorrect name test

pull/6144/head
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