mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: use _test.v
for the postfix of some test files, that were missing it
This commit is contained in:
parent
37b03e57b4
commit
7f294c8278
@ -18,8 +18,9 @@ fn reflect_call(method_name string) string {
|
|||||||
panic('Method not supported: $method_name')
|
panic('Method not supported: $method_name')
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn test_reflect_call_returning_a_comptime_method() {
|
||||||
result := reflect_call('method_one')
|
res1 := dump(reflect_call('method_one'))
|
||||||
println(result)
|
assert res1 == '1'
|
||||||
assert result == '1'
|
res2 := dump(reflect_call('method_two'))
|
||||||
|
assert res2 == '2'
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user