fix syntax error in tests (#4652)

This commit is contained in:
Alex Lam S.L
2021-02-15 06:41:07 +00:00
committed by GitHub
parent 203ca2586a
commit 76b27891c6
2 changed files with 41 additions and 25 deletions

View File

@@ -399,18 +399,18 @@ unsafe_object_accessor: {
function f() {
var a = {
get b() {},
set b() {}
set b(v) {},
};
return {a:a};
return { a: a };
}
}
expect: {
function f() {
var a = {
get b() {},
set b() {}
set b(v) {},
};
return {a:a};
return { a: a };
}
}
}