summaryrefslogtreecommitdiffstats
path: root/tests/data/extras/valid/burntsushi-repo/comment-everywhere.toml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:27:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:27:32 +0000
commit88857376d837c86ee4cbbe6ff3c9a22ab2113ffe (patch)
treeefe8d5d117c400fef855ba85e3c181cd0d4bd501 /tests/data/extras/valid/burntsushi-repo/comment-everywhere.toml
parentInitial commit. (diff)
downloadpython-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/comment-everywhere.toml')
-rw-r--r--tests/data/extras/valid/burntsushi-repo/comment-everywhere.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/data/extras/valid/burntsushi-repo/comment-everywhere.toml b/tests/data/extras/valid/burntsushi-repo/comment-everywhere.toml
new file mode 100644
index 0000000..3dca74c
--- /dev/null
+++ b/tests/data/extras/valid/burntsushi-repo/comment-everywhere.toml
@@ -0,0 +1,24 @@
+# Top comment.
+ # Top comment.
+# Top comment.
+
+# [no-extraneous-groups-please]
+
+[group] # Comment
+answer = 42 # Comment
+# no-extraneous-keys-please = 999
+# Inbetween comment.
+more = [ # Comment
+ # What about multiple # comments?
+ # Can you handle it?
+ #
+ # Evil.
+# Evil.
+ 42, 42, # Comments within arrays are fun.
+ # What about multiple # comments?
+ # Can you handle it?
+ #
+ # Evil.
+# Evil.
+# ] Did I fool you?
+] # Hopefully not.