Skip to content

Commit

Permalink
tests: vfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
islonely committed Sep 25, 2023
1 parent 3a1c782 commit 2102c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/v/tests/lambda_as_struct_field_value_test.v
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
struct Foo {
sum fn(int, int) int
sum fn (int, int) int
}

fn test_lambda_as_struct_field_value() {
foo := Foo{
sum: |x, y| x + y
}
assert foo.sum(6, 6) == 12
}
}

0 comments on commit 2102c46

Please sign in to comment.