Skip to content

Commit

Permalink
Update expected error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Mar 21, 2024
1 parent 3e89118 commit fdafe9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class KotlinScriptEngineTest {

assertThatThrownBy { KotlinScriptEngine.compile(codeWithMissingImport) }
.isInstanceOf(IllegalStateException::class.java)
.hasMessage("ERROR Unresolved reference: Random (script.main.kts:2:5)")
.hasMessage("ERROR Unresolved reference 'Random'. (script.main.kts:2:5)")
}

@RepeatedTest(10)
Expand Down

0 comments on commit fdafe9e

Please sign in to comment.