@@ -88,7 +88,7 @@ TEST(NamelistTests, BasicSanity) {
88
88
ASSERT_EQ (outStatus1, 0 ) << " Failed namelist output sanity, status "
89
89
<< static_cast <int >(outStatus1);
90
90
91
- static const std::string expect{" &GROUP1 INTS= 1 -2 4 -8 16 -32 "
91
+ static const std::string expect{" &GROUP1 INTS= 1 -2 4 -8 16 -32 "
92
92
" 64 -128 256 -512 1024 -2048 "
93
93
" 4096 -8192 16384 -32768 65536 "
94
94
" -131072 262144 -524288,REALS= "
@@ -157,7 +157,7 @@ TEST(NamelistTests, Subscripts) {
157
157
<< " Failed namelist output subscripts rewrite, status "
158
158
<< static_cast <int >(outStatus);
159
159
std::string got{out, sizeof out};
160
- static const std::string expect{" &JUSTA A= 0 2 0 0 0 1/ " };
160
+ static const std::string expect{" &JUSTA A= 0 2 0 0 0 1/ " };
161
161
EXPECT_EQ (got, expect);
162
162
}
163
163
@@ -213,7 +213,7 @@ TEST(NamelistTests, ScalarSubstring) {
213
213
ASSERT_TRUE (IONAME (OutputNamelist)(outCookie, group));
214
214
ASSERT_EQ (IONAME (EndIoStatement)(outCookie), IostatOk) << " namelist output" ;
215
215
std::string got{out, sizeof out};
216
- static const std::string expect{" &JUSTA A= 'aBCDEfgh'/ " };
216
+ static const std::string expect{" &JUSTA A= 'aBCDEfgh'/ " };
217
217
EXPECT_EQ (got, expect);
218
218
}
219
219
@@ -242,7 +242,7 @@ TEST(NamelistTests, ArraySubstring) {
242
242
ASSERT_TRUE (IONAME (OutputNamelist)(outCookie, group));
243
243
ASSERT_EQ (IONAME (EndIoStatement)(outCookie), IostatOk) << " namelist output" ;
244
244
std::string got{out, sizeof out};
245
- static const std::string expect{" &JUSTA A= 'aBCDEfgh' 'iJKLMnop'/ " };
245
+ static const std::string expect{" &JUSTA A= 'aBCDEfgh' 'iJKLMnop'/ " };
246
246
EXPECT_EQ (got, expect);
247
247
}
248
248
@@ -270,7 +270,7 @@ TEST(NamelistTests, Skip) {
270
270
ASSERT_TRUE (IONAME (OutputNamelist)(outCookie, group));
271
271
ASSERT_EQ (IONAME (EndIoStatement)(outCookie), IostatOk) << " namelist output" ;
272
272
std::string got{out, sizeof out};
273
- static const std::string expect{" &NML J= 123/ " };
273
+ static const std::string expect{" &NML J= 123/ " };
274
274
EXPECT_EQ (got, expect);
275
275
}
276
276
@@ -301,7 +301,7 @@ TEST(NamelistTests, Comma) {
301
301
ASSERT_TRUE (IONAME (OutputNamelist)(outCookie, group));
302
302
ASSERT_EQ (IONAME (EndIoStatement)(outCookie), IostatOk) << " namelist output" ;
303
303
std::string got{out, sizeof out};
304
- static const std::string expect{" &NML Z= (-1,;2,) (-3,;,5)/ " };
304
+ static const std::string expect{" &NML Z= (-1,;2,) (-3,;,5)/ " };
305
305
EXPECT_EQ (got, expect);
306
306
}
307
307
0 commit comments