diff options
author | Tina Müller (tinita) <cpan2@tinita.de> | 2020-06-01 00:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 00:47:25 +0200 |
commit | cf53b3b5f9b9ba9ea670580f3a268fff6404c872 (patch) | |
tree | eb27e084899d10a8ae69053cdeca4875309fa0a6 /src | |
parent | 9deee01508bb3b8ad25822f53d91d9f54eae9a0b (diff) | |
download | libyaml-git-cf53b3b5f9b9ba9ea670580f3a268fff6404c872.tar.gz |
Add -h and --flow (on|off|keep) to run-*-test-suite (#187)
With `--flow (keep|on)` run-parser-test-suite will output:
+MAP {}
+SEQ []
run-emitter-test-suite will then emit flow style collections if requested:
echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite | ./tests/run-emitter-test-suite
echo 'foo: [bar, {x: y}]' | ./tests/run-parser-test-suite \
--flow keep | ./tests/run-emitter-test-suite --flow keep
Also: add that yaml_private.h include again that I had thrown out. Needed
for printing directives.
Wonder if there is a way to create a directive without using the private api.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions