More work on table diff xmit
This commit is contained in:
@@ -59,7 +59,7 @@ World::World(util::WorldType wt) {
|
||||
|
||||
// Create the globaldb in the registry.
|
||||
LS.rawset(LuaRegistry, "globaldb", LuaNewTable);
|
||||
|
||||
|
||||
// Initialize the SourceDB. At this stage, the sourcedb is
|
||||
// empty, so it's just populating the lua builtins.
|
||||
source_db_.init(state());
|
||||
@@ -1072,7 +1072,7 @@ static bool worlds_identical(const std::unique_ptr<World> &w1, const std::unique
|
||||
return sbw1.contents_equal(&sbw2);
|
||||
}
|
||||
|
||||
LuaDefine(unittests_world, "c") {
|
||||
LuaDefine(unittests_worlddiffs, "c") {
|
||||
std::unique_ptr<World> m, ss, cs;
|
||||
StreamBuffer sb;
|
||||
int ncreate;
|
||||
@@ -1188,4 +1188,4 @@ LuaDefine(unittests_world, "c") {
|
||||
LuaAssert(L, worlds_identical(ss, cs));
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user