summaryrefslogtreecommitdiffstats
path: root/internal/toml-test/tests/valid/comment/tricky.toml
diff options
context:
space:
mode:
Diffstat (limited to 'internal/toml-test/tests/valid/comment/tricky.toml')
-rw-r--r--internal/toml-test/tests/valid/comment/tricky.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/internal/toml-test/tests/valid/comment/tricky.toml b/internal/toml-test/tests/valid/comment/tricky.toml
new file mode 100644
index 0000000..c95f94d
--- /dev/null
+++ b/internal/toml-test/tests/valid/comment/tricky.toml
@@ -0,0 +1,31 @@
+[section]#attached comment
+#[notsection]
+one = "11"#cmt
+two = "22#"
+three = '#'
+
+four = """# no comment
+# nor this
+#also not comment"""#is_comment
+
+five = 5.5#66
+six = 6#7
+8 = "eight"
+#nine = 99
+ten = 10e2#1
+eleven = 1.11e1#23
+
+["hash#tag"]
+"#!" = "hash bang"
+arr3 = [ "#", '#', """###""" ]
+arr4 = [ 1,# 9, 9,
+2#,9
+,#9
+3#]
+,4]
+arr5 = [[[[#["#"],
+["#"]]]]#]
+]
+tbl1 = { "#" = '}#'}#}}
+
+