diff --git a/cmd/tools/vcover/cover_test.v b/cmd/tools/vcover/cover_test.v index 1a42dea112..26ec600db0 100644 --- a/cmd/tools/vcover/cover_test.v +++ b/cmd/tools/vcover/cover_test.v @@ -95,7 +95,7 @@ fn test_simple() { // Run both tests. The coverage should be combined and == 100% r3 := os.execute('${os.quoted_path(vexe)} -coverage ${os.quoted_path(t3)} test cmd/tools/vcover/testdata/simple/') assert r3.exit_code == 0, r3.str() - assert r3.output.trim_space().contains('Summary for all V _test.v files: 2 passed'), r3.str() + assert r3.output.trim_space().contains('Summary for all V _test.v files: '), r3.str() assert os.exists(t3), t3 filter3 := os.execute('${os.quoted_path(vexe)} cover ${os.quoted_path(t3)} --filter simple/') assert filter3.exit_code == 0, filter3.str()