Skip to content

Commit 922db1d

Browse files
committed
Update tests to match formatter behavior after the last patches
1 parent 792e0c9 commit 922db1d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/expected/dictionaries.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ var dialogue_items: Array[Dictionary] = [
77
var my_dictionary = { key = "value" }
88
# But only if it fits on one line
99
var my_dictionary_2 = {
10-
key = "value"
10+
key = "value",
1111
}

tests/expected/trailing_comma.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var d = {
2424
"c": 3,
2525
}
2626

27-
var dd = {"a": 1, "b": 2, "c": 3}
27+
var dd = { "a": 1, "b": 2, "c": 3 }
2828

2929
enum Foo {
3030
A,

0 commit comments

Comments
 (0)