Open Yikes2000 opened 2 years ago
Fixed bug and added test coverage.
diff --git a/tests/format/x/js/align-object-properties/o.js b/tests/format/x/js/align-object-properties/o.js index d5655e86a..aa63549a4 100644 --- a/tests/format/x/js/align-object-properties/o.js +++ b/tests/format/x/js/align-object-properties/o.js @@ -87,3 +87,11 @@ o = { next:2}, keyasdf:3 } + +// computed property +o = { + [name.id]: 'value', + 2:3, + "k-2":2, + keyasdf:3 +}
Missed a test snapshot. Updated.
Also got bitten by this bug. Nice fix. Thank you!
Fixed bug and added test coverage.