MCPcopy Create free account
hub / github.com/boostorg/json / testIssue726

Method testIssue726

test/parse.cpp:183–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void
184 testIssue726()
185 {
186 parse_options opt;
187 opt.allow_comments = true;
188 opt.allow_trailing_commas = true;
189 char const* text1 = "[ 123, //\n]";
190 value arr = parse(text1, {}, opt);
191 BOOST_TEST(arr == array{123});
192 }
193
194 void
195 testIstream()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected