Skip to content

Commit 8bc8c22

Browse files
committed
Fixed test after final val change
1 parent c4e4f48 commit 8bc8c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scalac-scoverage-plugin/src/test/scala/scoverage/PluginCoverageTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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") {

0 commit comments

Comments
 (0)