diff --git a/vlib/v/checker/tests/globals/incorrect_name_global.out b/vlib/v/checker/tests/globals/incorrect_name_global.out index 23d77899d3..7f23d5a191 100644 --- a/vlib/v/checker/tests/globals/incorrect_name_global.out +++ b/vlib/v/checker/tests/globals/incorrect_name_global.out @@ -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 - | ~~~~~~~~~~ \ No newline at end of file + 1 | __global A int = 1 + | ~~~~~~~~~~ diff --git a/vlib/v/checker/tests/globals/incorrect_name_global.vv b/vlib/v/checker/tests/globals/incorrect_name_global.vv index 253abc8c2d..0c957ce0e5 100644 --- a/vlib/v/checker/tests/globals/incorrect_name_global.vv +++ b/vlib/v/checker/tests/globals/incorrect_name_global.vv @@ -1 +1 @@ -__global A := 1 +__global A int = 1