Skip to content

Commit ad4a20d

Browse files
committed
docs($sanitize): fix incorrect test description
1 parent b3972d1 commit ad4a20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ngSanitize/sanitizeSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ describe('HTML', function() {
246246
.toEqual('<p>text1text2</p>');
247247
});
248248

249-
it('should remove clobbered elements', function() {
249+
it('should throw on clobbered elements', function() {
250250
inject(function($sanitize) {
251251
expect(function() {
252252
$sanitize('<form><input name="parentNode" /></form>');

0 commit comments

Comments
 (0)