Skip to content

Commit

Permalink
minor: test
Browse files Browse the repository at this point in the history
  • Loading branch information
mvysny committed Aug 1, 2024
1 parent 374333b commit e7e5730
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 @@ internal fun DynaNodeGroup.locatorTest2() {
// the _expect*() functions should detect this and fail fast.
currentUI.addBeforeEnterListener { event -> event.rerouteToError(RuntimeException("Simulated"), "Simulated") }
navigateTo("")
expectThrows<AssertionError>("An internal server error occurred; please check log for the actual stack-trace. Error text: There was an exception while trying to navigate to") {
expectThrows<AssertionError>("An internal server error occurred; please check log for the actual stack-trace. Error text: There was an exception while trying to navigate to '' with the exception message 'Simulated'") {
_expectOne<UI>()
}
}
Expand Down

0 comments on commit e7e5730

Please sign in to comment.