forked from sascha/godot
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.
4.0
parent
0056acf46f
commit
6afbf0bd5a
@ -1,2 +1,2 @@
|
||||
GDTEST_OK
|
||||
{"a":1, "b":2, "with spaces":3, "2":4}
|
||||
{ "a": 1, "b": 2, "with spaces": 3, "2": 4 }
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
GDTEST_OK
|
||||
{"hello":{"world":{"is":"beautiful"}}}
|
||||
{ "hello": { "world": { "is": "beautiful" } } }
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
GDTEST_OK
|
||||
{8:{"key":"value"}}
|
||||
{"key":"value"}
|
||||
{ 8: { "key": "value" } }
|
||||
{ "key": "value" }
|
||||
value
|
||||
value
|
||||
|
||||
Loading…
Reference in New Issue