mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
testing: support for internal module testing
This commit is contained in:

committed by
Alexander Medvednikov

parent
3a2c46a1ce
commit
1cd5fab21d
@ -34,7 +34,7 @@ fn start_testing() BenchedTests {
|
||||
|
||||
// Called before each test_ function, defined in file_test.v
|
||||
fn (b mut BenchedTests) testing_step_start(stepfunc string) {
|
||||
b.step_func_name = stepfunc.replace('main__','')
|
||||
b.step_func_name = stepfunc.replace('main__','').replace('__','.')
|
||||
b.oks = C.g_test_oks
|
||||
b.fails = C.g_test_fails
|
||||
b.bench.step()
|
||||
|
Reference in New Issue
Block a user