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

fmt: write empty or blocks the same as empty fn bodies, empty structs, etc (#9136)

This commit is contained in:
Lukas Neubert
2021-03-06 20:04:51 +01:00
committed by GitHub
parent 7a9d9f1e78
commit fdcfe397d4
17 changed files with 48 additions and 38 deletions

View File

@ -29,7 +29,7 @@ const another_point = Point{0.25, 2.25, 6.25}
const extended_point = Extended_Point{1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0}
fn testsuite_begin() {
os.rmdir_all(tfolder) or { }
os.rmdir_all(tfolder) or {}
assert !os.is_dir(tfolder)
os.mkdir_all(tfolder) or { panic(err) }
os.chdir(tfolder)