Skip to content

Commit 0cb61ee

Browse files
committed
Updated coverage aggregation test
1 parent 413060b commit 0cb61ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ class CoverageAggregatorTest extends FreeSpec with Matchers {
4242
IOUtils.reportFile(dir2, debug = false),
4343
IOUtils.reportFile(dir3, debug = false))
4444
)
45-
aggregated.statements.map(_.copy(id = 0)).toSet shouldEqual
45+
aggregated.statements.toSet.size shouldBe 3
46+
aggregated.statements.map(_.copy(id = 0)).toSet shouldBe
4647
(coverage1.statements ++ coverage2.statements ++ coverage3.statements).map(_.copy(id = 0)).toSet
4748
}
4849
}

0 commit comments

Comments
 (0)