fix tests to reflect new super behaviour
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
var obj = (function () {
|
||||
var _obj = {};
|
||||
|
||||
_obj["x" + foo.foo] = "heh";
|
||||
_obj["x" + foo.bar] = "heh";
|
||||
return _obj;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user