Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f09415d

Browse files
committed
merge kai/master
2 parents 91104f8 + 9998b8d commit f09415d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/directivesSpec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ describe("directives", function(){
216216
});
217217
});
218218

219+
it('should silently ignore undefined ng:style', function() {
220+
var scope = compile('<div ng:style="myStyle"></div>');
221+
scope.$eval();
222+
expect(element.hasClass('ng-exception')).toBeFalsy();
223+
});
224+
219225
it('should ng:show', function(){
220226
var scope = compile('<div ng:hide="hide"></div>');
221227
scope.$eval();

0 commit comments

Comments
 (0)