Fixing a test from internal test suite.
This commit is contained in:
1 parent
8088163d04
commit
b7ad84c76a
1 file changed
+6
-1
@@ -24,4 +24,9 @@ function Animal(name)
|
||||
|
||||
var animal = new Animal("animal");
|
||||
var bird = new Animal("bird");
|
||||
assert(animal.canFly == animal.name);
|
||||
|
||||
assert(animal.canWalk === true);
|
||||
assert(bird.canWalk === true);
|
||||
assert(animal.canFly === undefined);
|
||||
assert(bird.canFly === true);
|
||||
|
||||
Reference in new issue
Block a user