From 0dca143bddda7ecfdd53a5493132d00e996f4a10 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 23 Dec 2011 00:02:28 -0500 Subject: [PATCH] Added {Abstract,Final}Class to index test --- test/test-index.js | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test/test-index.js b/test/test-index.js index 5a0299b..1942a72 100644 --- a/test/test-index.js +++ b/test/test-index.js @@ -24,8 +24,10 @@ var common = require( './common' ), assert = require( 'assert' ), - Class = common.require( 'class' ), - Interface = common.require( 'interface' ), + Class = common.require( 'class' ), + AbstractClass = common.require( 'class_abstract' ), + FinalClass = common.require( 'class_final' ), + Interface = common.require( 'interface' ), index = require( '../' ); @@ -35,6 +37,16 @@ assert.ok( "Class should be made available" ); +assert.ok( + ( index.AbstractClass === AbstractClass ), + "AbstractClass should be made available" +); + +assert.ok( + ( index.FinalClass === FinalClass ), + "FinalClass should be made available" +); + assert.ok( ( index.Interface === Interface ), "Interface should be made available"