mirror of
https://github.com/vlang/v.git
synced 2025-08-03 09:47:15 -04:00
tests: fix v -W vlib/toml/tests/encode_and_decode_test.v
This commit is contained in:
parent
91a3844ad5
commit
74080e8fd5
@ -209,7 +209,7 @@ struct Example6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn test_encode_for_exotic_types() {
|
fn test_encode_for_exotic_types() {
|
||||||
assert toml.encode(Example6{ ptr: &voidptr(0), r: `🚀` }) == 'ptr = "0x0"\nr = "🚀"'
|
assert toml.encode(Example6{ ptr: unsafe { &voidptr(nil) }, r: `🚀` }) == 'ptr = "0x0"\nr = "🚀"'
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_array_encode_decode() {
|
fn test_array_encode_decode() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user