aboutsummaryrefslogtreecommitdiffstats
path: root/test/ParserSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ParserSpec.js')
-rw-r--r--test/ParserSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ParserSpec.js b/test/ParserSpec.js
index 62d6731a..641420cb 100644
--- a/test/ParserSpec.js
+++ b/test/ParserSpec.js
@@ -200,7 +200,7 @@ describe('parser', function() {
expect(function() {
scope.$eval("1|nonExistant");
- }).toThrow(new Error("Parse Error: Token 'nonExistant' should be a function at column 3 of expression [1|nonExistant] starting at [nonExistant]."));
+ }).toThrow(new Error("Syntax Error: Token 'nonExistant' should be a function at column 3 of the expression [1|nonExistant] starting at [nonExistant]."));
scope.$set('offset', 3);
expect(scope.$eval("'abcd'|upper._case")).toEqual("ABCD");