diff options
author | Alex Crichton <alex@alexcrichton.com> | 2017-11-20 13:39:31 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 13:39:31 -0600 |
commit | 823d1f58305113b38d62eba7e87dc3f4097acbac (patch) | |
tree | 38d92a55f2bde9b02fe4cfb78dd9c8f6f29ee9e3 /tests/valid/hard_example.toml | |
parent | 3b77b5fb6520c7bf13be6308978efa8a185d0c12 (diff) | |
parent | d53db5c5335fb73389e5a78c190bf2a1903f3b6a (diff) | |
download | milf-rs-823d1f58305113b38d62eba7e87dc3f4097acbac.tar.gz milf-rs-823d1f58305113b38d62eba7e87dc3f4097acbac.zip |
Merge pull request #217 from dtolnay/macro
A toml macro
Diffstat (limited to 'tests/valid/hard_example.toml')
-rw-r--r-- | tests/valid/hard_example.toml | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/valid/hard_example.toml b/tests/valid/hard_example.toml deleted file mode 100644 index 38856c8..0000000 --- a/tests/valid/hard_example.toml +++ /dev/null @@ -1,33 +0,0 @@ -# Test file for TOML -# Only this one tries to emulate a TOML file written by a user of the kind of parser writers probably hate -# This part you'll really hate - -[the] -test_string = "You'll hate me after this - #" # " Annoying, isn't it? - - [the.hard] - test_array = [ "] ", " # "] # ] There you go, parse this! - test_array2 = [ "Test #11 ]proved that", "Experiment #9 was a success" ] - # You didn't think it'd as easy as chucking out the last #, did you? - another_test_string = " Same thing, but with a string #" - harder_test_string = " And when \"'s are in the string, along with # \"" # "and comments are there too" - # Things will get harder - - [the.hard."bit#"] - "what?" = "You don't think some user won't do that?" - multi_line_array = [ - "]", - # ] 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 # |