1
0
Fork 0

Corrected abstract class tests (.equals() = .equal())

closure/master
Mike Gerwitz 2010-11-14 01:11:24 -05:00
parent de979d07f0
commit d3ba8a9dfe
1 changed files with 4 additions and 4 deletions

View File

@ -81,26 +81,26 @@ assert.ok(
"All classes should have an isAbstract() method"
);
assert.equals(
assert.equal(
Foo.isAbstract(),
false,
"Classes are not abstract if they contain no abstract methods"
);
assert.equals(
assert.equal(
AbstractFoo.isAbstract(),
true,
"Classes should be considered abstract if they contain any abstract methods"
);
assert.equals(
assert.equal(
SubAbstractFoo.isAbstract(),
true,
"Subtypes of abstract types are abstract if they don't provide a " +
"concrete implementation for all abstract methods"
);
assert.equals(
assert.equal(
ConcreteFoo.isAbstract(),
false,
"Subtypes of abstract types are not abstract if they provide concrete " +