Skip to content

Commit

Permalink
Merge pull request #143 from elssar/master
Browse files Browse the repository at this point in the history
Some more test cases in hard_examples.toml
  • Loading branch information
Tom Preston-Werner committed Mar 1, 2013
2 parents 9cec560 + 473c4a8 commit 8a7c1bf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/hard_example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@ test_string = "You'll hate me after this - #" # " Annoying, isn't it?
"]",
# ] Oh yes I did
]

# Each of the following keygroups/key value pairs should produce an error. Uncomment to them to test

#[error] if you didn't catch this, your parser is broken
#string = "Anything other than tabs, spaces and newline after a keygroup or key value pair has ended should produce an error unless it is a comment" like this
#array = [
# "This might most likely happen in multiline arrays",
# Like here,
# "or here,
# and here"
# ] End of array comment, forgot the #
#number = 3.14 pi <--again forgot the #

0 comments on commit 8a7c1bf

Please # to comment.