Skip to content

Commit ff0adba

Browse files
authored
tests: fix file partially not fmt, caused by fixed vfmt bug (#17828)
1 parent cd6cc65 commit ff0adba

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

vlib/v/tests/concrete_type_as_generic_type_test.v

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,14 @@ fn func_fn_multi_return_concrete() FnMultiReturn[string, string, string] {
3131
}
3232
}
3333

34-
// vfmt will erase explicit generic type (bug reported in #17773)
35-
// vfmt off
36-
3734
fn test_concrete_function_type_as_generic_type() {
3835
func_fn_concrete()('V')
3936
func_fn_dynamic[string]()('V')
4037

4138
assert func_fn_return_dynamic[string, int]()('100') == 100
42-
39+
4340
s1, s2 := func_fn_multi_return_concrete()('VLang')
4441

4542
assert s1 == 'V'
4643
assert s2 == 'Lang'
4744
}
48-
49-
// vfmt on

0 commit comments

Comments
 (0)