Commit 4c4dc8e
committed
Fixes error code on test run
`TestMain` is used for all tests, not just benchmarks as it looks like
the file might expect. The error code was being ignored which results in
an `ok` status on each test run even when there are failures.
This commit fixes `TestMain` to return the error code returned from
`Run()`. I did not look at anything else going on in the file.1 parent fb99b89 commit 4c4dc8e
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments