From 0e17ade959cc77369dc102d180e43be2af68505a Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 5 Apr 2011 11:00:26 -0700 Subject: Cleanup parser code to expose smaller API --- test/ParserSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ParserSpec.js') 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"); -- cgit v1.2.3