diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:27:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:27:32 +0000 |
commit | 88857376d837c86ee4cbbe6ff3c9a22ab2113ffe (patch) | |
tree | efe8d5d117c400fef855ba85e3c181cd0d4bd501 /tests/data/extras/valid/burntsushi-repo/spec-example-1.toml | |
parent | Initial commit. (diff) | |
download | python-tomli-w-upstream/1.0.0.tar.xz python-tomli-w-upstream/1.0.0.zip |
Adding upstream version 1.0.0.upstream/1.0.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/data/extras/valid/burntsushi-repo/spec-example-1.toml')
-rw-r--r-- | tests/data/extras/valid/burntsushi-repo/spec-example-1.toml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/data/extras/valid/burntsushi-repo/spec-example-1.toml b/tests/data/extras/valid/burntsushi-repo/spec-example-1.toml new file mode 100644 index 0000000..52fd1e8 --- /dev/null +++ b/tests/data/extras/valid/burntsushi-repo/spec-example-1.toml @@ -0,0 +1,33 @@ +# This is a TOML document. Boom. + +title = "TOML Example" + +[owner] +name = "Lance Uppercut" +dob = 1979-05-27T07:32:00-08:00 # First class dates? Why not? + +[database] +server = "192.168.1.1" +ports = [ 8001, 8001, 8002 ] +connection_max = 5000 +enabled = true + +[servers] + + # You can indent as you please. Tabs or spaces. TOML don't care. + [servers.alpha] + ip = "10.0.0.1" + dc = "eqdc10" + + [servers.beta] + ip = "10.0.0.2" + dc = "eqdc10" + +[clients] +data = [ ["gamma", "delta"], [1, 2] ] + +# Line breaks are OK when inside arrays +hosts = [ + "alpha", + "omega" +] |