Skip to content

Commit

Permalink
[fix] fix typo in quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed May 12, 2023
1 parent 9fd8555 commit 6a5a07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/quickstart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3405,7 +3405,7 @@ void sample_emit_style()
CHECK(ryml::emitrs_yaml<std::string>(tree) == R"(NodeOne: [{key: a,desc: b,class: c,number: d},{key: e,desc: f,class: g,number: h},{key: i,desc: j,class: k,number: l}]
)");
tree.rootref() |= ryml::_WIP_STYLE_FLOW_SL;
CHECK(ryml::emitrs_yaml<std::string>(tree) == R"({{NodeOne: [{key: a,desc: b,class: c,number: d},{key: e,desc: f,class: g,number: h},{key: i,desc: j,class: k,number: l}]})");
CHECK(ryml::emitrs_yaml<std::string>(tree) == R"({NodeOne: [{key: a,desc: b,class: c,number: d},{key: e,desc: f,class: g,number: h},{key: i,desc: j,class: k,number: l}]})");
}


Expand Down

0 comments on commit 6a5a07f

Please sign in to comment.