Skip to content

Commit

Permalink
Fix assertion exception in wollok test result
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Jul 9, 2021
1 parent 07592e2 commit 11e88d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AssertionException extends Exception {
int lineNumber

new(String message, WollokProgramExceptionWrapper exceptionWrapper) {
this.message = message
this.message = message.replace("<", "|").replace(">", "|")
this.wollokException = exceptionWrapper.wollokException
this.URI = exceptionWrapper.URI
this.lineNumber = exceptionWrapper.lineNumber
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class WollokJavaConversions {
throw throwInvalidOperation(NLS.bind(Messages.WollokConversion_INVALID_CONVERSION, o.call(TO_STRING_PRINTABLE), "Number"))
}
result
}
}

def static dispatch int coerceToInteger(BigDecimal value) {
coercingStrategy.coerceToInteger(value)
Expand Down

0 comments on commit 11e88d3

Please sign in to comment.