mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
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…
x
Reference in New Issue
Block a user