File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 26
26
// ///////////////////////////////////////////////////////////////////
27
27
// Called at the start of the test program produced by `v -stats file_test.v`
28
28
fn start_testing (total_number_of_tests int , vfilename string ) BenchedTests {
29
- mut b := BenchedTests{
29
+ mut benched_tests_res := BenchedTests{
30
30
bench: benchmark.new_benchmark ()
31
31
}
32
- b .bench.set_total_expected_steps (total_number_of_tests)
33
- b .test_suit_file = vfilename
34
- println ('running tests in: $b .test_suit_file ' )
35
- return b
32
+ benched_tests_res .bench.set_total_expected_steps (total_number_of_tests)
33
+ benched_tests_res .test_suit_file = vfilename
34
+ println ('running tests in: $benched_tests_res .test_suit_file ' )
35
+ return benched_tests_res
36
36
}
37
37
38
38
// Called before each test_ function, defined in file_test.v
You can’t perform that action at this time.
0 commit comments