浏览代码

JsonNode change: Fix test

Alexander Wilms 1 年之前
父节点
当前提交
5712c3f9f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/map/CMapFormatTest.cpp

+ 1 - 1
test/map/CMapFormatTest.cpp

@@ -95,7 +95,7 @@ static JsonNode getFromArchive(CZipLoader & archive, const std::string & archive
 
 	auto data = archive.load(resource)->readAll();
 
-	JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second);
+	JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second, resource.getName());
 
 	return res;
 }