Merge pull request #2027 from mhnaeem/regression/tests-for-array-formatting

Fixes #772 - Added regression tests
This commit is contained in:
Liam Newman 2022-04-09 23:53:09 -07:00 committed by GitHub
commit 8af8e0b95f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3302,6 +3302,24 @@ exports.test_data = {
' });',
'var test = 1;'
]
}, {
comment: "Issue #772",
input: [
'this.initAttributes([',
'"name",',
'["parent", null, "parentName"],',
'"length",',
'["id", this.name],',
']);'
],
output: [
'this.initAttributes([',
' "name",',
' ["parent", null, "parentName"],',
' "length",',
' ["id", this.name],',
']);'
]
}, {
comment: "Issue #1663",
unchanged: [