v/vlib/v/fmt/tests/empty_lines_input.vv

35 lines
338 B
V

type MyInt = int
type EmptyLineAfterLastType = fn() int
struct EmptyLineAfterStructs {}
fn empty_line_after_functions() {}
fn squash_multiple_empty_lines() {
println('a')
println('b')
c := 0
d := 0
}
fn remove_leading_and_trailing_empty_lines() {
println('a')
println('b')
if test {
c := 0
} else {
d := 0
}
}