mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

for i in github.com/BurntSushi/toml github.com/coreos/go-etcd/etcd github.com/coreos/go-log/log github.com/gorilla/context github.com/rcrowley/go-metrics bitbucket.org/kardianos/osext github.com/coreos/go-systemd/journal github.com/coreos/raft code.google.com/p/goprotobuf/proto ; do goven -copy -rewrite $i; done
23 lines
856 B
TOML
23 lines
856 B
TOML
# 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
|
|
]
|
|
|