This commit is contained in:
2026-11-05 09:57:11 -05:00
parent d34388bf2c
commit 89e392cc2e
81 changed files with 12410 additions and 1135 deletions
+3 -3
View File
@@ -82,7 +82,7 @@ test("empty ray and invalid hit positions do not read map",function()
hits={hit(3)}; hits[1].under.x=0/0; assert(not R.look(player) and reads==0)
eye_height=math.huge; local n=rays; assert(not R.look(player) and rays==n); eye_height=1.6
end)
test("all eighty entries render with honest seventy-eight excerpt and two note headings",function()
test("all hundred entries render with honest ninety-eight excerpt and two note headings",function()
local excerpts,notes=0,0
for _,r in ipairs(H.botany.list()) do
assert(R.show(player,r.id)); local a=H.wiki_articles[r.id]
@@ -98,7 +98,7 @@ test("all eighty entries render with honest seventy-eight excerpt and two note h
assert(not a.revision and latest():find(api.formspec_escape(a.text),1,true))
end
end
assert(excerpts==78 and notes==2)
assert(excerpts==98 and notes==2)
end)
test("excerpt retains full shipped introduction and attribution revision history license",function()
assert(R.show(player,"oak")); local a=H.wiki_articles.oak
@@ -119,7 +119,7 @@ test("current effects use actual describe records with simulated descriptive sep
assert(latest():find("SIMULATED",1,true) and latest():find("DESCRIPTIVE (not simulated)",1,true))
assert(latest():find("no infection or attack",1,true))
assert(R.show(player,"alder",2))
assert(latest():find("900 warm active seconds",1,true) and latest():find("Frankia",1,true))
assert(latest():find("90 real calendar days",1,true) and latest():find("Frankia",1,true))
assert(latest():find("not measured Wikipedia constants",1,true))
end)
test("article textarea and provenance are unnamed read-only copyable fields",function()