dodona-edu / universal-judge

Universal judge for educational software testing
https://docs.dodona.be/en/tested
MIT License
9 stars 5 forks source link

Don't consider single-line strings as multi-line strings #364

Closed niknetniko closed 1 year ago

niknetniko commented 1 year ago

If the option "stringsAsText" is enabled, the multiline string mode will only be used if the expected string is effectively multiline. It will also no longer show "return (String)" as this is ugly.

Fixes #356.

See https://github.com/dodona-edu/universal-judge/issues/221 for context about this feature.