yskumar007 / snakeyaml

Automatically exported from code.google.com/p/snakeyaml
Apache License 2.0
0 stars 0 forks source link

grammar error in exception message #201

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to parse yaml doc with a missing colon character

What is the expected output? What do you see instead?

expected: a message containing "could not find expected ':'"
actual: a message containing "could not found expected ':'"

What version of SnakeYAML are you using? On what Java version?

1.14

Please provide any additional information below. (Often a failing test is
the best way to describe the problem.)

a recursive grep shows two different places where this string is located

Original issue reported on code.google.com by eric.c.d...@gmail.com on 16 Nov 2014 at 5:01

GoogleCodeExporter commented 9 years ago
Yes, I have found 2 places

Original comment by py4fun@gmail.com on 16 Nov 2014 at 9:23

GoogleCodeExporter commented 9 years ago
This happens in multiple places in the code:

src/main/java/org/yaml/snakeyaml/scanner/ScannerImpl.java:466

src/main/java/org/yaml/snakeyaml/scanner/ScannerImpl.java:515

Original comment by matthew....@gmail.com on 23 Nov 2014 at 2:02

GoogleCodeExporter commented 9 years ago
Fixed. It will be delivered in v1.15

Original comment by py4fun@gmail.com on 4 Feb 2015 at 2:45