Please check out my excercise and help me understand why I get an error on the 1e test (see more detail below) #137
Replies: 2 comments 4 replies
-
|
Ik heb geen toegangsrechten tot de oefening dus ik kan niet kijken naar de opgave of je bestanden, maar zou het stomweg een "newline" op het einde van de regel kunnen zijn? Het lijkt alsof de output 2 regels verwacht. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @marcothijs, There's hidden characters present in both your solution, as in the test plan. When I download the testplan yaml and run it through That's a bit weird, because that second test was passing. It was the first one that's failing. The reason for that is that in your submitted solution, the hidden characters are also present: If I adjust the code to not contain the hidden characters, the first test passes, but the second one starts to fail. When the hidden characters are removed from the test plan, that one should start to pass too. The reason that this isn't immediately visible on the Dodona interface is that we process and sanitise the results to be able to create a meaningful diff. In this case however, it would be nice to have been able to spot this more easily. We'll give that a think and see what we can come up with. Hope that helps! Kind regards, Tom |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My excercise https://dodona.be/nl/activities/9016521/ gets the first test wrong while the output "looks" the same as the test outcome. Can anyone explain why?
I have my solution code in the solution map, the test in the evaluation map.
Please see the screenprint below:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions