diff --git a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsr223.vue b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsr223.vue index ac5d3feefa..8942e7e037 100644 --- a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsr223.vue +++ b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsr223.vue @@ -249,9 +249,9 @@ break; } script += - "\tmsg = \" " + msg + "\";" + - "\tAssertionResult.setFailureMessage(msg);" + - "\tAssertionResult.setFailure(true);"; + "\tmsg = \" " + msg + "\"\n" + + "\tAssertionResult.setFailureMessage(msg)" +"\n"+ + "\tAssertionResult.setFailure(True)"; this.assertion.desc = desc; this.assertion.script = script;