mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-22 08:29:38 +00:00
reenable serialize to/from tests
This commit is contained in:
parent
17c3a8bf57
commit
baa7d2c8cb
@ -84,9 +84,8 @@ void DiffDocuments(std::string path, rapidjson::Document& expected, rapidjson::D
|
||||
}
|
||||
|
||||
void VerifySerializeToFrom(IndexedFile& file) {
|
||||
return; // TODO: reenable
|
||||
std::string expected = file.ToString();
|
||||
std::string actual = Deserialize("foo.cc", Serialize(file)).value().ToString();
|
||||
std::string actual = Deserialize("--.cc", Serialize(file)).value().ToString();
|
||||
if (expected != actual) {
|
||||
std::cerr << "Serialization failure" << std::endl;;
|
||||
assert(false);
|
||||
|
Loading…
Reference in New Issue
Block a user