mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: migrate to the new Option (p. 1) (#8924)
This commit is contained in:
@@ -54,7 +54,7 @@ fn test_raw_decode_null() {
|
||||
|
||||
fn test_raw_decode_invalid() {
|
||||
json2.raw_decode('1z') or {
|
||||
assert err == '[x.json2] invalid token `z` (0:17)'
|
||||
assert err.msg == '[x.json2] invalid token `z` (0:17)'
|
||||
return
|
||||
}
|
||||
assert false
|
||||
|
||||
Reference in New Issue
Block a user