Ruined
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user