From d3ba8a9dfe9c1ca83b7ffe682524f1e63447747d Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 14 Nov 2010 01:11:24 -0500 Subject: [PATCH] Corrected abstract class tests (.equals() = .equal()) --- test/test-class-abstract.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test-class-abstract.js b/test/test-class-abstract.js index cae1c17..8316ac6 100644 --- a/test/test-class-abstract.js +++ b/test/test-class-abstract.js @@ -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 " +