mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
5872c81e29
commit
3c64d3eac4
|
@ -42,3 +42,6 @@ assert.sameValue(c.method(), 'outer class');
|
|||
assert.throws(TypeError, function() {
|
||||
innerB.method(c);
|
||||
}, 'accessed inner class getter from an object of outer class');
|
||||
assert.throws(TypeError, function() {
|
||||
C.prototype.method.call(innerB);
|
||||
});
|
||||
|
|
|
@ -42,3 +42,6 @@ assert.sameValue(c.method(), 'outer class');
|
|||
assert.throws(TypeError, function() {
|
||||
innerB.method(c);
|
||||
}, 'accessed inner class getter from an object of outer class');
|
||||
assert.throws(TypeError, function() {
|
||||
C.prototype.method.call(innerB);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue