summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-18 17:20:55 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-10-04 20:33:40 +0200
commit6afbf0bd5a9981721cd904633f613a1b492b9217 (patch)
tree957e9016e5095af866ae7ae7104271f0954c4fe2 /modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out
parent0056acf46fc88757cae9d9f6fe9805f0eec1cd09 (diff)
downloadredot-engine-6afbf0bd5a9981721cd904633f613a1b492b9217.tar.gz
Improve dictionary printing to avoid confusion with arrays
- Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out')
-rw-r--r--modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out b/modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out
index dd28609850..cf79845f53 100644
--- a/modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out
+++ b/modules/gdscript/tests/scripts/parser/features/dictionary_mixed_syntax.out
@@ -1,2 +1,2 @@
GDTEST_OK
-{"hello":{"world":{"is":"beautiful"}}}
+{ "hello": { "world": { "is": "beautiful" } } }