Skip to content

Commit

Permalink
fix tests for latest v (part 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Nov 25, 2023
1 parent 5ef277e commit 296788b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 21 deletions.
4 changes: 2 additions & 2 deletions tests/array_struct_inline/array_struct_inline.vv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module main

const boms = [Go2VInlineStruct{[0xfe, 0xff], 'utf-16be'},
Go2VInlineStruct{[0xff, 0xfe], 'utf-16le'}, Go2VInlineStruct{[0xef, 0xbb, 0xbf], 'utf-8'}]
const boms = [Go2VInlineStruct{[0xfe, 0xff], 'utf-16be'}, Go2VInlineStruct{[0xff, 0xfe], 'utf-16le'},
Go2VInlineStruct{[0xef, 0xbb, 0xbf], 'utf-8'}]

struct Go2VInlineStruct {
mut:
Expand Down
14 changes: 6 additions & 8 deletions tests/case/case.vv
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
module main

const (
uppercase_with_underscores = 0
lowercase_with_underscores = 0
camel_case = 0
upper_camel_case = 0
uppercase = 0
lowercase = 0
)
const uppercase_with_underscores = 0
const lowercase_with_underscores = 0
const camel_case = 0
const upper_camel_case = 0
const uppercase = 0
const lowercase = 0

fn ok() {
mut erfd_fs324 := ['a', 'b', 'c', 'd']
Expand Down
14 changes: 6 additions & 8 deletions tests/const/const.vv
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
module main

const (
struct_uppercase_to_handle = 123
struct1 = 'dsfsdfs'
bbb = `b`
ccc = `c`
struct2 = `a`
struct3 = true
)
const struct_uppercase_to_handle = 123
const struct1 = 'dsfsdfs'
const bbb = `b`
const ccc = `c`
const struct2 = `a`
const struct3 = true
4 changes: 1 addition & 3 deletions tests/enum_complex/enum_complex.vv
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module main

const (
default_msg_accept_func = default_msg_accept_func
)
const default_msg_accept_func = default_msg_accept_func

enum EnumFieldTest {
enum_fieid_zero
Expand Down

0 comments on commit 296788b

Please sign in to comment.