aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/valid/comments-everywhere.milf
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-21 14:10:24 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-21 14:10:24 -0600
commit7bbbfd046324363c8db1fb15d39aeb02fe7331b5 (patch)
treea416bb991c23e083d0b5816dfc8b00cd1aceda78 /test-suite/tests/valid/comments-everywhere.milf
parentb1417006df376e6c406bff43740dd11aa7ef744e (diff)
downloadmilf-rs-main.tar.gz
milf-rs-main.zip
hilarious and original jokeHEADmain
Diffstat (limited to 'test-suite/tests/valid/comments-everywhere.milf')
-rw-r--r--test-suite/tests/valid/comments-everywhere.milf24
1 files changed, 24 insertions, 0 deletions
diff --git a/test-suite/tests/valid/comments-everywhere.milf b/test-suite/tests/valid/comments-everywhere.milf
new file mode 100644
index 0000000..3dca74c
--- /dev/null
+++ b/test-suite/tests/valid/comments-everywhere.milf
@@ -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.