Skip to content

Conversation

@perlpunk
Copy link
Member

@perlpunk perlpunk commented May 31, 2020

Before:

a: &b x
*b: c

Now:

a: &b x
*b : c

Passing emitter tests:

  • 26DV: Whitespace around colon in mappings
  • E76Z: Aliases in Implicit Block Mapping
  • X38W: Aliases in Flow Objects

Test manually because make test-suite will overwrite changes in the skiplist:

./tests/run-parser-test-suite tests/run-test-suite/data/26DV/in.yaml | ./tests/run-emitter-test-suite
./tests/run-parser-test-suite tests/run-test-suite/data/E76Z/in.yaml | ./tests/run-emitter-test-suite
./tests/run-parser-test-suite tests/run-test-suite/data/X38W/in.yaml | ./tests/run-emitter-test-suite

Or edit tests/run-test-suite/test/blacklist/libyaml-emitter and do:

(cd tests/run-test-suite; prove -lv test)

@perlpunk perlpunk force-pushed the alias-key-space branch 2 times, most recently from 5318b31 to 9da8b84 Compare May 31, 2020 13:30
@perlpunk perlpunk marked this pull request as ready for review May 31, 2020 13:31
@perlpunk perlpunk requested a review from ingydotnet May 31, 2020 13:48
Before:
    a: &b x
    *b: c

Now:
    a: &b x
    *b : c

Passing tests:
* 26DV: Whitespace around colon in mappings
* E76Z: Aliases in Implicit Block Mapping
* X38W: Aliases in Flow Objects

Test manually because `make test-suite` will overwrite changes in the skiplist:

    ./tests/run-parser-test-suite tests/run-test-suite/data/26DV/in.yaml | ./tests/run-emitter-test-suite
    ./tests/run-parser-test-suite tests/run-test-suite/data/E76Z/in.yaml | ./tests/run-emitter-test-suite
    ./tests/run-parser-test-suite tests/run-test-suite/data/X38W/in.yaml | ./tests/run-emitter-test-suite

Or edit tests/run-test-suite/test/blacklist/libyaml-emitter and do:

    (cd tests/run-test-suite; prove -lv test)

Also I added some newlines to yaml.h to help identifying states by number.
@perlpunk perlpunk changed the base branch from master to release/0.2.5 June 1, 2020 09:55
@perlpunk perlpunk merged commit 6e2fa97 into yaml:release/0.2.5 Jun 1, 2020
@perlpunk perlpunk deleted the alias-key-space branch June 1, 2020 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants