dodona-edu / universal-judge

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

Better representation of single and multiline strings #356

Closed pdawyndt closed 1 year ago

pdawyndt commented 1 year ago

If both expected and generated return values are single line strings, I would keep the representation with string enclosed in double quotes. This is how it is represented now:

image

Example: submission 13918024

As soon as either expected or/and generated are multiline strings (not nested in parent data structure), I would represent them as multiline string (as they are now), but I would not change the channel "return" into "return (String)". This is how it is represented now:

image

Example: submission 13918049