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
23
23
// we expect:
24
24
// instrumenting the default-param which becomes a method call invocation
25
25
// the method makeGreeting is entered.
26
- compiler.assertNMeasuredStatements(2 )
26
+ compiler.assertNMeasuredStatements(1 )
27
27
}
28
28
29
29
test(" scoverage should skip macros" ) {
@@ -68,7 +68,7 @@ class PluginCoverageTest
68
68
|} """ .stripMargin)
69
69
assert(! compiler.reporter.hasErrors)
70
70
// we should have 3 statements - initialising the val, executing println, and executing the parameter
71
- compiler.assertNMeasuredStatements(8 )
71
+ compiler.assertNMeasuredStatements(7 )
72
72
}
73
73
74
74
test(" scoverage should not instrument the match as a statement" ) {
You can’t perform that action at this time.
0 commit comments