diff --git a/test/fixture/test1.js b/test/fixture/test1.js index fe3518b..9ed220d 100644 --- a/test/fixture/test1.js +++ b/test/fixture/test1.js @@ -6,7 +6,7 @@ * func1 */ function func1(arg1, arg2){ - throw new Exception('hello'); + throw new Error('hello'); return 'string'; } diff --git a/test/fixture/test2.js b/test/fixture/test2.js index fffe8b4..63bed6b 100644 --- a/test/fixture/test2.js +++ b/test/fixture/test2.js @@ -3,7 +3,7 @@ */ function some(cool, stuff){ if(typeof cool === undefined || typeof stuff === undefined){ - throw new Exception('must provide "cool" or "stuff" parameter'); + throw new Error('must provide "cool" or "stuff" parameter'); } if(cool > stuff){