File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
scalac-scoverage-plugin/src/test/scala/scoverage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class PluginCoverageTest
2323 // we expect:
2424 // instrumenting the default-param which becomes a method call invocation
2525 // the method makeGreeting is entered.
26- compiler.assertNMeasuredStatements(2 )
26+ compiler.assertNMeasuredStatements(1 )
2727 }
2828
2929 test(" scoverage should skip macros" ) {
@@ -68,7 +68,7 @@ class PluginCoverageTest
6868 |} """ .stripMargin)
6969 assert(! compiler.reporter.hasErrors)
7070 // we should have 3 statements - initialising the val, executing println, and executing the parameter
71- compiler.assertNMeasuredStatements(8 )
71+ compiler.assertNMeasuredStatements(7 )
7272 }
7373
7474 test(" scoverage should not instrument the match as a statement" ) {
You can’t perform that action at this time.
0 commit comments