hard.toml 856 B

12345678910111213141516171819202122
  1. # Test file for TOML
  2. # Only this one tries to emulate a TOML file written by a user of the kind of parser writers probably hate
  3. # This part you'll really hate
  4. [the]
  5. test_string = "You'll hate me after this - #" # " Annoying, isn't it?
  6. [the.hard]
  7. test_array = [ "] ", " # "] # ] There you go, parse this!
  8. test_array2 = [ "Test #11 ]proved that", "Experiment #9 was a success" ]
  9. # You didn't think it'd as easy as chucking out the last #, did you?
  10. another_test_string = " Same thing, but with a string #"
  11. harder_test_string = " And when \"'s are in the string, along with # \"" # "and comments are there too"
  12. # Things will get harder
  13. [the.hard.bit#]
  14. what? = "You don't think some user won't do that?"
  15. multi_line_array = [
  16. "]",
  17. # ] Oh yes I did
  18. ]