From 793090628d2b970a8d6618d45bbbc5b63425d742 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 4 Apr 2015 17:03:54 +1100 Subject: [PATCH] fix #1157 regression test --- .../transformation/es7.class-properties/static/exec.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/core/fixtures/transformation/es7.class-properties/static/exec.js b/test/core/fixtures/transformation/es7.class-properties/static/exec.js index bb2f9cc9ce..299aa7949d 100644 --- a/test/core/fixtures/transformation/es7.class-properties/static/exec.js +++ b/test/core/fixtures/transformation/es7.class-properties/static/exec.js @@ -1,8 +1,9 @@ class Foo { static num = 0; - static str = "bar"; + static str = "foo"; } -assert.equal(bar.num, 0); -assert.equal(bar.num = 1, 1); -assert.equal(bar.str, "bar"); +assert.equal(Foo.num, 0); +assert.equal(Foo.num = 1, 1); +assert.equal(Foo.str, "foo"); +assert.equal(Foo.str = "bar", "bar");