diff --git a/test/SerialIOTest.cpp b/test/SerialIOTest.cpp index ca5903b088..e1dcb2ea4d 100644 --- a/test/SerialIOTest.cpp +++ b/test/SerialIOTest.cpp @@ -1525,7 +1525,7 @@ inline void write_test(const std::string &backend) Series o = Series( "../samples/serial_write." + backend, Access::CREATE, - R"(rank_table = "hostname")"); + R"({"rank_table": "hostname"})"); ParticleSpecies &e_1 = o.iterations[1].particles["e"]; @@ -1798,7 +1798,7 @@ inline void fileBased_write_test(const std::string &backend) Series o = Series( "../samples/subdir/serial_fileBased_write%03T." + backend, Access::CREATE, - R"(rank_table="hostname")"); + R"({"rank_table": "hostname"})"); ParticleSpecies &e_1 = o.iterations[1].particles["e"]; @@ -1918,7 +1918,7 @@ inline void fileBased_write_test(const std::string &backend) Series o = Series( "../samples/subdir/serial_fileBased_write%T." + backend, Access::READ_ONLY, - R"(rank_table="hostname")"); + R"({"rank_table": "hostname"})"); REQUIRE(o.iterations.size() == 5); REQUIRE(o.iterations.count(1) == 1); @@ -1996,7 +1996,7 @@ inline void fileBased_write_test(const std::string &backend) Series o = Series( "../samples/subdir/serial_fileBased_write%T." + backend, Access::READ_WRITE, - R"(rank_table="hostname")"); + R"({"rank_table": "hostname"})"); REQUIRE(o.iterations.size() == 5); o.iterations[6]; @@ -2038,7 +2038,7 @@ inline void fileBased_write_test(const std::string &backend) Series o = Series( "../samples/subdir/serial_fileBased_write%01T." + backend, Access::READ_WRITE, - R"(rank_table="hostname")"); + R"({"rank_table": "hostname"})"); REQUIRE(o.iterations.size() == 1); /*