@@ -872,7 +872,7 @@ TEST_CASE( "no_file_ending", "[core]" )
872872 Series (
873873 " ../samples/no_extension_specified" ,
874874 Access::CREATE,
875- " { \ " backend\ " : \ " json\" } " );
875+ R"( { "backend": "json"} ) " );
876876 }
877877 REQUIRE (
878878 auxiliary::file_exists ( " ../samples/no_extension_specified.json" ) );
@@ -881,7 +881,7 @@ TEST_CASE( "no_file_ending", "[core]" )
881881TEST_CASE ( " backend_via_json" , " [core]" )
882882{
883883 std::string encodingVariableBased =
884- " { \ " backend\ " : \ " json\ " , \ " iteration_encoding\ " : \ " variable_based\" } " ;
884+ R"( { "backend": "json", "iteration_encoding": "variable_based"} ) " ;
885885 {
886886 Series series (
887887 " ../samples/optionsViaJson" ,
@@ -906,7 +906,7 @@ TEST_CASE( "backend_via_json", "[core]" )
906906 Series series (
907907 " ../samples/optionsViaJsonOverwritesAutomaticDetection.sst" ,
908908 Access::CREATE,
909- " { \ " adios2\ " : {\ " engine\ " : {\ " type\ " : \ " bp4\ " }}}" );
909+ R"( { "adios2": {"engine": {"type": "bp4"}}}) " );
910910 }
911911 REQUIRE ( auxiliary::directory_exists (
912912 " ../samples/optionsViaJsonOverwritesAutomaticDetection.bp" ) );
@@ -918,15 +918,15 @@ TEST_CASE( "backend_via_json", "[core]" )
918918 Series series (
919919 " ../samples/optionsPreferJsonOverEnvVar.bp" ,
920920 Access::CREATE,
921- " { \ " backend\ " : \ " ADIOS2\" } " );
921+ R"( { "backend": "ADIOS2"} ) " );
922922 REQUIRE ( series.backend () == " ADIOS2" );
923923 }
924924 REQUIRE ( auxiliary::directory_exists (
925925 " ../samples/optionsPreferJsonOverEnvVar.bp" ) );
926926#endif
927927#endif
928928 std::string encodingFileBased =
929- " { \ " backend\ " : \ " json\ " , \ " iteration_encoding\ " : \ " file_based\" } " ;
929+ R"( { "backend": "json", "iteration_encoding": "file_based"} ) " ;
930930 {
931931 /*
932932 * Should we add JSON options to set the filebased expansion pattern?
@@ -942,7 +942,7 @@ TEST_CASE( "backend_via_json", "[core]" )
942942 error::WrongAPIUsage );
943943 }
944944 std::string encodingGroupBased =
945- " { \ " backend\ " : \ " json\ " , \ " iteration_encoding\ " : \ " group_based\" } " ;
945+ R"( { "backend": "json", "iteration_encoding": "group_based"} ) " ;
946946 {
947947 Series series (
948948 " ../samples/optionsViaJsonPseudoFilebased%T.json" ,
0 commit comments