mirror of
https://github.com/vlang/v.git
synced 2025-09-09 15:27:05 -04:00
ci: reduce the noise in check annotations for github PR reviews, due to the new warning in option_test.c.v
This commit is contained in:
parent
5adfc55b82
commit
84e2fd8c51
@ -251,9 +251,9 @@ fn test_opt_ptr() {
|
||||
else {
|
||||
}
|
||||
a := 3
|
||||
mut r := opt_ptr(&a) or { &int(0) }
|
||||
mut r := opt_ptr(&a) or { unsafe { &int(0) } }
|
||||
assert r == &a
|
||||
r = opt_ptr(&int(0)) or { return }
|
||||
r = opt_ptr(unsafe { &int(0) }) or { return }
|
||||
assert false
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user