From 3758271af5e852dfc4bdf542fbf5faadadc0c16b Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Mon, 26 Jan 2015 08:09:37 -0500 Subject: [PATCH] update tests for error vs exeption --- test/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.js b/test/index.js index 14b1ae1..f3cdb3c 100644 --- a/test/index.js +++ b/test/index.js @@ -20,7 +20,7 @@ describe('docast', function(){ assert.equal(func1.name, 'func1'); assert.deepEqual(func1.params, ['arg1', 'arg2']); assert.deepEqual(func1.returns, ['\'string\'']); - assert.deepEqual(func1.raises, ['Exception']); + assert.deepEqual(func1.raises, ['Error']); var func2 = comments[2]; assert.ok(~func2.doc.indexOf('func2')); @@ -70,7 +70,7 @@ describe('docast', function(){ assert.equal(some.name, 'some'); assert.deepEqual(some.params, ['cool', 'stuff']); assert.deepEqual(some.returns, ['stuff', 'cool', 'null']); - assert.deepEqual(some.raises, ['Exception']); + assert.deepEqual(some.raises, ['Error']); }); it('should properly parse ./fixture/test3.js', function(){