diff options
| author | Misko Hevery | 2010-03-24 12:08:48 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-03-24 12:08:48 -0700 |
| commit | 3d3694240034b6841c9fdf2e38a2a7955cb592c7 (patch) | |
| tree | 6fb92920e56363eef218f0797c3d11b686f8ea8f /test/ParserTest.js | |
| parent | fd72031e9626b574a4459747c2e0261f69102364 (diff) | |
| parent | 563a98e4bd0fd9f2277befcfe45ff2d0476878d8 (diff) | |
| download | angular.js-3d3694240034b6841c9fdf2e38a2a7955cb592c7.tar.bz2 | |
merge
Diffstat (limited to 'test/ParserTest.js')
| -rw-r--r-- | test/ParserTest.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ParserTest.js b/test/ParserTest.js index 53ca9eda..c8d323f2 100644 --- a/test/ParserTest.js +++ b/test/ParserTest.js @@ -482,3 +482,7 @@ ParserTest.prototype.testBugStringConfusesParser = function() { assertEquals('!', scope.eval('suffix = "!"')); }; +ParserTest.prototype.testParsingBug = function () { + var scope = new Scope(); + assertEquals({a: "-"}, scope.eval("{a:'-'}")); +}; |
