diff options
| author | Misko Hevery | 2011-04-05 11:00:26 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2011-06-08 15:01:32 -0700 | 
| commit | 0e17ade959cc77369dc102d180e43be2af68505a (patch) | |
| tree | 334c001ee00005eb3f67325523feb2afd961fdad /test/ParserSpec.js | |
| parent | bb67ee8d28f2cddb4b503dc8909649994a4d67e1 (diff) | |
| download | angular.js-0e17ade959cc77369dc102d180e43be2af68505a.tar.bz2 | |
Cleanup parser code to expose smaller API
Diffstat (limited to 'test/ParserSpec.js')
| -rw-r--r-- | test/ParserSpec.js | 2 | 
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"); | 
