Skip to content

Commit

Permalink
Discard changes to crates/swc_ecma_transforms_compat/tests/es2018_obj…
Browse files Browse the repository at this point in the history
…ect_rest_spread.rs
  • Loading branch information
kdy1 authored Jun 14, 2024
1 parent 958f899 commit 938369a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ const {
expect(rest).toEqual({"foo": "bar"});
expect(omit).toBe("three");
const [k1, k2, k3, k4, k5] = [null, true, false, {toString() { return "warrior"; }}];
const [k1, k2, k3, k4, k5] = [null, undefined, true, false, {toString() { return "warrior"; }}];
const c = {
[k1]: "1"
[k2]: "2"
Expand Down Expand Up @@ -457,7 +457,7 @@ const {
expect(rest).toEqual({"foo": "bar"});
expect(omit).toBe("three");
const [k1, k2, k3, k4, k5] = [null, true, false, {toString() { return "warrior"; }}];
const [k1, k2, k3, k4, k5] = [null, undefined, true, false, {toString() { return "warrior"; }}];
const c = {
[k1]: "1"
[k2]: "2"
Expand Down Expand Up @@ -1641,7 +1641,7 @@ expect(log).toEqual([1]);
//expect(rest).toEqual({"foo": "bar"});
//expect(omit).toBe("three");
//
//const [k1, k2, k3, k4, k5] = [null, true, false, {toString() {
//const [k1, k2, k3, k4, k5] = [null, undefined, true, false, {toString() {
// return "warrior"; }}]; const c = {
// [k1]: "1"
// [k2]: "2"
Expand Down Expand Up @@ -1696,7 +1696,7 @@ expect(log).toEqual([1]);
// "foo": "bar"
//});
//expect(omit).toBe("three");
//const [k1, k2, k3, k4, k5] = [null, true, false, {
//const [k1, k2, k3, k4, k5] = [null, undefined, true, false, {
// toString() {
// return "warrior";
// }
Expand Down Expand Up @@ -1854,7 +1854,7 @@ const {
expect(rest).toEqual({"foo": "bar"});
expect(omit).toBe("three");
const [k1, k2, k3, k4, k5] = [null, true, false, {toString() { return "warrior"; }}];
const [k1, k2, k3, k4, k5] = [null, undefined, true, false, {toString() { return "warrior"; }}];
const c = {
[k1]: "1",
[k2]: "2",
Expand Down

0 comments on commit 938369a

Please sign in to comment.