We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ee29c commit 89fae60Copy full SHA for 89fae60
1 file changed
vlib/builtin/map_test.v
@@ -222,8 +222,8 @@ fn test_various_map_value() {
222
m17['test'] = u64(0)
223
assert m17['test'] == u64(0)
224
mut m18 := map[string]&int{}
225
- m18['test'] = &int(0)
226
- assert unsafe { m18['test'] } == &int(0)
+ m18['test'] = &int(unsafe { nil })
+ assert unsafe { m18['test'] } == &int(unsafe { nil })
227
}
228
229
fn test_string_arr() {
0 commit comments