Skip to content

Commit

Permalink
Update Structurizr error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Aug 13, 2023
1 parent a527a4c commit 1931ad1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void should_throw_exception_when_script_directive_used() throws IOExcepti
Structurizr.convert(source, FileFormat.SVG, plantumlCommand, new StructurizrPlantUMLExporter(), new JsonObject());
})
.isInstanceOf(BadRequestException.class)
.hasMessage("Unable to parse the Structurizr DSL. Error running inline script, caused by java.lang.RuntimeException: Could not load a scripting engine for extension \"kts\" at line 5: }.");
.hasMessageStartingWith("Unable to parse the Structurizr DSL. Error running inline script, caused by java.lang.RuntimeException: Could not load a scripting engine for extension \"kts\" at line 5");
}

@Test
Expand Down

0 comments on commit 1931ad1

Please sign in to comment.