From 81ff635c6088bfb7d392b2bdc149536198adbcb8 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 22 Jan 2015 08:07:59 +1100 Subject: [PATCH] fix tests to reflect new super behaviour --- .../es6-classes/accessing-super-class/actual.js | 12 ++++++------ .../es6-properties.computed-loose/this/expected.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/fixtures/transformation/es6-classes/accessing-super-class/actual.js b/test/fixtures/transformation/es6-classes/accessing-super-class/actual.js index 154d85730b..0cf9cc2ab2 100644 --- a/test/fixtures/transformation/es6-classes/accessing-super-class/actual.js +++ b/test/fixtures/transformation/es6-classes/accessing-super-class/actual.js @@ -12,14 +12,14 @@ class Test extends Foo { } test() { - super(); - super(...arguments); - super("test", ...arguments); + super.test(); + super.test(...arguments); + super.test("test", ...arguments); } static foo() { - super(); - super(...arguments); - super("test", ...arguments); + super.foo(); + super.foo(...arguments); + super.foo("test", ...arguments); } } diff --git a/test/fixtures/transformation/es6-properties.computed-loose/this/expected.js b/test/fixtures/transformation/es6-properties.computed-loose/this/expected.js index c89572a402..72554a9599 100644 --- a/test/fixtures/transformation/es6-properties.computed-loose/this/expected.js +++ b/test/fixtures/transformation/es6-properties.computed-loose/this/expected.js @@ -3,6 +3,6 @@ var obj = (function () { var _obj = {}; - _obj["x" + foo.foo] = "heh"; + _obj["x" + foo.bar] = "heh"; return _obj; })();