summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2013-02-25 18:31:05 -0500
committerSamuel Bronson <naesten@gmail.com>2013-02-25 18:31:05 -0500
commitabeb565083adfbe6e1d409c35b16eb4a80634688 (patch)
tree50dd75e804f3feb3ef4441743c6a13d4dcba9d1a /crawl-ref/source/test
parenta5f631d931a72bf3863aecf38fb2bfdb3bddffb6 (diff)
downloadcrawl-ref-abeb565083adfbe6e1d409c35b16eb4a80634688.tar.gz
crawl-ref-abeb565083adfbe6e1d409c35b16eb4a80634688.zip
Relax test/shoal-hut.lua: huts don't necessarily have doors anymore.
TODO: check connectivity of huts that lack doors.
Diffstat (limited to 'crawl-ref/source/test')
-rw-r--r--crawl-ref/source/test/shoal-hut.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/test/shoal-hut.lua b/crawl-ref/source/test/shoal-hut.lua
index 840eaf29f8..c095a8da10 100644
--- a/crawl-ref/source/test/shoal-hut.lua
+++ b/crawl-ref/source/test/shoal-hut.lua
@@ -33,7 +33,10 @@ local function shoal_hut_doors()
table.insert(doors, vault_doors)
end
end
- test.map_assert(#doors > 0, "No hut doors found on Shoals:$")
+ -- FIXME: some huts have no doors; shouldn't we still check connectivity?
+ if #doors <= 0 then
+ crawl.message("No hut doors found...")
+ end
return doors
end