Fix test for instantiating a class extending null (#813)

The sameValue assertion should be that the [[Prototype]] is
equal to the class's prototype, not the constructor.
This commit is contained in:
Adam Klein 2016-12-28 17:18:19 -08:00 committed by Tom Care
parent a73221eb8f
commit 4ff7e4342e
1 changed files with 1 additions and 1 deletions

View File

@ -38,4 +38,4 @@ class Foo extends null {
var foo = new Foo();
assert.sameValue(Object.getPrototypeOf(foo), Foo);
assert.sameValue(Object.getPrototypeOf(foo), Foo.prototype);