diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/psych/test_parser.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/psych/test_parser.rb b/test/psych/test_parser.rb index 4ad7b6a..61c2510 100644 --- a/test/psych/test_parser.rb +++ b/test/psych/test_parser.rb @@ -24,6 +24,11 @@ module Psych @parser = Psych::Parser.new EventCatcher.new end + def test_sequence_end + @parser.parse("---\n&A [1, 2]") + assert_called :end_sequence + end + def test_sequence_start_anchor @parser.parse("---\n&A [1, 2]") assert_called :start_sequence, ["A", true, FLOW_SEQUENCE_STYLE] |