1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: vfmt every .v file, except vlib/builtin/int_test.v (#9448)

This commit is contained in:
zakuro
2021-03-25 03:39:59 +09:00
committed by GitHub
parent 5d8b9b0151
commit 6bc9ef7373
19 changed files with 259 additions and 272 deletions

View File

@ -1,19 +1,19 @@
fn test_isnil_byteptr(){
fn test_isnil_byteptr() {
pb := byteptr(0)
assert isnil( pb )
assert isnil(pb)
}
fn test_isnil_voidptr(){
fn test_isnil_voidptr() {
pv := voidptr(0)
assert isnil( pv )
assert isnil(pv)
}
fn test_isnil_charptr(){
fn test_isnil_charptr() {
pc := &char(0)
assert isnil( pc )
assert isnil(pc)
}
fn test_isnil_intptr(){
fn test_isnil_intptr() {
pi := &int(0)
assert isnil( pi )
assert isnil(pi)
}