2
0
Эх сурвалжийг харах

JsonNode change: Fix test

Alexander Wilms 1 жил өмнө
parent
commit
5712c3f9f4

+ 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;
 }