Skip to content

Commit

Permalink
Fixed the testRunCoverage_invalidFormat_throwsException by updating t…
Browse files Browse the repository at this point in the history
…o IllegalArgumentException
  • Loading branch information
Rd4dev committed Jun 30, 2024
1 parent 3123047 commit c6cf052
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class RunCoverageTest {
@Test
fun testRunCoverage_invalidFormat_throwsException() {
testBazelWorkspace.initEmptyWorkspace()
val exception = assertThrows<IllegalStateException>() {
val exception = assertThrows<IllegalArgumentException>() {
main(tempFolder.root.absolutePath, "file.kt", "format=PDF")
}

Expand Down

0 comments on commit c6cf052

Please sign in to comment.