mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
test vctest upgrade (must fail)
This commit is contained in:
parent
c135b04606
commit
7039ddde1c
1 changed files with 5 additions and 2 deletions
|
|
@ -14,12 +14,15 @@ app.close_world(true)
|
||||||
assert(not world.is_open())
|
assert(not world.is_open())
|
||||||
|
|
||||||
-- Reopen
|
-- Reopen
|
||||||
app.open_world("demo")
|
app.open_world("demo")
|
||||||
assert(world.is_open())
|
assert(world.is_open())
|
||||||
assert(world.get_total_time() > 0.0)
|
assert(world.get_total_time() > 0.0)
|
||||||
assert(world.get_seed() == 2019)
|
assert(world.get_seed() == 2019)
|
||||||
app.tick()
|
app.tick()
|
||||||
app.reconfig_packs({}, {"base"})
|
|
||||||
|
-- Remove base pack
|
||||||
|
app.reconfig_packs({"undefined"}, {"base"})
|
||||||
|
-- World is reopened in post-runnable
|
||||||
app.tick()
|
app.tick()
|
||||||
|
|
||||||
-- Close
|
-- Close
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue