diff options
Diffstat (limited to 'internal/world/room_test.go')
| -rw-r--r-- | internal/world/room_test.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/internal/world/room_test.go b/internal/world/room_test.go index 1ad974e..855eba5 100644 --- a/internal/world/room_test.go +++ b/internal/world/room_test.go @@ -27,11 +27,13 @@ objects: - id: workbench - name: window hidden: true - description: "A small window." + description: + - text: "A small window." - id: control name: instrument panel aliases: [cockpit] - description: "A panel." + description: + - text: "A panel." ` // rebuild the path index so LoadRoom can find the room file writeRoom(t, dir, body) @@ -98,7 +100,8 @@ func TestExitDefUnmarshalAlwaysBlocked(t *testing.T) { north: room: 5 always_blocked: true - south: 3 + south: + room: 3 east: room: 7 hidden: true |
