mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
GDTEST_OK
|
||||
{1:(2, 0)}
|
||||
{3:(4, 0)}
|
||||
{ 1: (2, 0) }
|
||||
{ 3: (4, 0) }
|
||||
[[(5, 0)]]
|
||||
[[(6, 0)]]
|
||||
[[(7, 0)]]
|
||||
|
||||
@@ -21,7 +21,7 @@ hello/world
|
||||
RID(0)
|
||||
Node::get_name
|
||||
Node::[signal]property_list_changed
|
||||
{"hello":123}
|
||||
{ "hello": 123 }
|
||||
["hello", 123]
|
||||
[255, 0, 1]
|
||||
[-1, 0, 1]
|
||||
|
||||
Reference in New Issue
Block a user