Generate tests

This commit is contained in:
Leo Balter 2019-05-22 13:49:46 -04:00
parent 5872c81e29
commit 3c64d3eac4
2 changed files with 6 additions and 0 deletions

View File

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

View File

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