fix tests to reflect new super behaviour

This commit is contained in:
Sebastian McKenzie
2015-01-22 08:07:59 +11:00
parent 7072f64397
commit 81ff635c60
2 changed files with 7 additions and 7 deletions

View File

@@ -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);
}
}

View File

@@ -3,6 +3,6 @@
var obj = (function () {
var _obj = {};
_obj["x" + foo.foo] = "heh";
_obj["x" + foo.bar] = "heh";
return _obj;
})();