@@ -872,7 +872,7 @@ TEST_CASE( "no_file_ending", "[core]" )
872
872
Series (
873
873
" ../samples/no_extension_specified" ,
874
874
Access::CREATE,
875
- " { \ " backend\ " : \ " json\" } " );
875
+ R"( { "backend": "json"} ) " );
876
876
}
877
877
REQUIRE (
878
878
auxiliary::file_exists ( " ../samples/no_extension_specified.json" ) );
@@ -881,7 +881,7 @@ TEST_CASE( "no_file_ending", "[core]" )
881
881
TEST_CASE ( " backend_via_json" , " [core]" )
882
882
{
883
883
std::string encodingVariableBased =
884
- " { \ " backend\ " : \ " json\ " , \ " iteration_encoding\ " : \ " variable_based\" } " ;
884
+ R"( { "backend": "json", "iteration_encoding": "variable_based"} ) " ;
885
885
{
886
886
Series series (
887
887
" ../samples/optionsViaJson" ,
@@ -906,7 +906,7 @@ TEST_CASE( "backend_via_json", "[core]" )
906
906
Series series (
907
907
" ../samples/optionsViaJsonOverwritesAutomaticDetection.sst" ,
908
908
Access::CREATE,
909
- " { \ " adios2\ " : {\ " engine\ " : {\ " type\ " : \ " bp4\ " }}}" );
909
+ R"( { "adios2": {"engine": {"type": "bp4"}}}) " );
910
910
}
911
911
REQUIRE ( auxiliary::directory_exists (
912
912
" ../samples/optionsViaJsonOverwritesAutomaticDetection.bp" ) );
@@ -918,15 +918,15 @@ TEST_CASE( "backend_via_json", "[core]" )
918
918
Series series (
919
919
" ../samples/optionsPreferJsonOverEnvVar.bp" ,
920
920
Access::CREATE,
921
- " { \ " backend\ " : \ " ADIOS2\" } " );
921
+ R"( { "backend": "ADIOS2"} ) " );
922
922
REQUIRE ( series.backend () == " ADIOS2" );
923
923
}
924
924
REQUIRE ( auxiliary::directory_exists (
925
925
" ../samples/optionsPreferJsonOverEnvVar.bp" ) );
926
926
#endif
927
927
#endif
928
928
std::string encodingFileBased =
929
- " { \ " backend\ " : \ " json\ " , \ " iteration_encoding\ " : \ " file_based\" } " ;
929
+ R"( { "backend": "json", "iteration_encoding": "file_based"} ) " ;
930
930
{
931
931
/*
932
932
* Should we add JSON options to set the filebased expansion pattern?
@@ -942,7 +942,7 @@ TEST_CASE( "backend_via_json", "[core]" )
942
942
error::WrongAPIUsage );
943
943
}
944
944
std::string encodingGroupBased =
945
- " { \ " backend\ " : \ " json\ " , \ " iteration_encoding\ " : \ " group_based\" } " ;
945
+ R"( { "backend": "json", "iteration_encoding": "group_based"} ) " ;
946
946
{
947
947
Series series (
948
948
" ../samples/optionsViaJsonPseudoFilebased%T.json" ,
0 commit comments