Sha256: 528bc104c55d5a81bb9e0eee5175d99f39f250fc8babca11a26e27ae5ec4370d

Contents?: true

Size: 937 Bytes

Versions: 3

Compression:

Stored size: 937 Bytes

Contents

# 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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
toml-rb-0.1.2 test/hard_example.toml
toml-rb-0.1.0 test/hard_example.toml
toml_parser-ruby-0.1.0 test/hard_example.toml