summaryrefslogtreecommitdiff
path: root/tests/examplefiles/properties/java.properties
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/properties/java.properties')
-rw-r--r--tests/examplefiles/properties/java.properties38
1 files changed, 23 insertions, 15 deletions
diff --git a/tests/examplefiles/properties/java.properties b/tests/examplefiles/properties/java.properties
index 72ad0f96..d5b594e3 100644
--- a/tests/examplefiles/properties/java.properties
+++ b/tests/examplefiles/properties/java.properties
@@ -1,16 +1,24 @@
-foo = bar
-foo: bar
-foo.oof: \
- bar=baz; \
- asdf
+#https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Properties.htm
+# mixing spaces
+ Truth = Beauty
+ Truth:Beauty
+Truth Beauty
+Truth :Beauty
+
+! line continuations and escapes
+ fruits apple, banana, pear, \
+ cantaloupe, watermelon, \
+ kiwi, mango
+key = \
+ value1 \\\
+ and value2\\
+key\ 2 = value
+key\\ 3 = value3
-// comment
-# comment
-; comment
-
-x:a\
-b
-x: a \
- b
-
-x = \
+! empty keys and edge cases
+key1 =
+key2
+key3 the value3
+key4 the:value4
+key5 the=value5
+key6=the value6