When you run the test case, in the output options, you will see "Ignore spaces before and after the answer."
If it is not checked, it will only work when the output is exactly the same with the test case execution output, including spaces and line breaks.
Please check the output options first.
Results can be set to ignore incorrect outputs, such as spaces or line breaks, depending on the intention of the issuer.
An issuer can write or edit the quiz in the Lecture Management > Quiz Management tab of the created lecture.
All questions have to be one of Exam Mode, Submit Mode, or Run Mode. In exam mode, following options can be given by the issuer for a flexible grading.