diff options
| author | Misko Hevery | 2010-04-09 16:20:15 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-04-09 16:20:15 -0700 | 
| commit | 843bd355d25ebf2369aec79f98cb6704d38497e9 (patch) | |
| tree | 3850d13b9ad8ab6c5dd975c20cf9d849c7429ed2 /test/markupSpec.js | |
| parent | 41a5c408c242269bf31bc0b774c7304fdf7c2f1c (diff) | |
| download | angular.js-843bd355d25ebf2369aec79f98cb6704d38497e9.tar.bz2 | |
various bug fixes
Diffstat (limited to 'test/markupSpec.js')
| -rw-r--r-- | test/markupSpec.js | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/test/markupSpec.js b/test/markupSpec.js index e416b8ea..a1112490 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -47,6 +47,11 @@ describe("markups", function(){      expect(element.html()).toEqual('<option value="A">A</option>');    }); +  it('should process all bindings when we have leading space', function(){ +    compile('<a> {{a}}<br/>{{b}}</a>'); +    expect(sortedHtml(scope.$element)).toEqual('<a> <span ng-bind="a"></span><br></br><span ng-bind="b"></span></a>'); +  }); +  }); | 
