mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: fix file partially not fmt, caused by fixed vfmt bug (#17828)
This commit is contained in:
parent
cd6cc65ece
commit
ff0adba8a9
@ -31,9 +31,6 @@ fn func_fn_multi_return_concrete() FnMultiReturn[string, string, string] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// vfmt will erase explicit generic type (bug reported in #17773)
|
|
||||||
// vfmt off
|
|
||||||
|
|
||||||
fn test_concrete_function_type_as_generic_type() {
|
fn test_concrete_function_type_as_generic_type() {
|
||||||
func_fn_concrete()('V')
|
func_fn_concrete()('V')
|
||||||
func_fn_dynamic[string]()('V')
|
func_fn_dynamic[string]()('V')
|
||||||
@ -45,5 +42,3 @@ fn test_concrete_function_type_as_generic_type() {
|
|||||||
assert s1 == 'V'
|
assert s1 == 'V'
|
||||||
assert s2 == 'Lang'
|
assert s2 == 'Lang'
|
||||||
}
|
}
|
||||||
|
|
||||||
// vfmt on
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user