test(tutorial): cover malformed tutorial.yaml -> WorldLoadException
This commit is contained in:
5
Semesterprojekt/src/test/resources/badtut/tutorial.yaml
Normal file
5
Semesterprojekt/src/test/resources/badtut/tutorial.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
# Malformed on purpose: 'steps' must be a list, not a scalar.
|
||||
# Used by TutorialLoaderTest to verify parse errors become WorldLoadException.
|
||||
intro: "bad"
|
||||
steps: 12345
|
||||
closingTips: "bad"
|
||||
Reference in New Issue
Block a user