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

Commit 711aba7

Browse files
m-amrNarretz
authored andcommitted
test(ngAria): remove incorrect closing div tag after input element
Closes #14146 Closes #14147
1 parent 88322c1 commit 711aba7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ngAria/ariaSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ describe('$aria', function() {
248248
});
249249

250250
it('should not add a role to a native checkbox', function() {
251-
compileElement('<input type="checkbox" ng-model="val"></div>');
251+
compileElement('<input type="checkbox" ng-model="val"/>');
252252
expect(element.attr('role')).toBe(undefined);
253253
});
254254

@@ -258,7 +258,7 @@ describe('$aria', function() {
258258
});
259259

260260
it('should not add a role to a native radio button', function() {
261-
compileElement('<input type="radio" ng-model="val"></div>');
261+
compileElement('<input type="radio" ng-model="val"/>');
262262
expect(element.attr('role')).toBe(undefined);
263263
});
264264

@@ -268,7 +268,7 @@ describe('$aria', function() {
268268
});
269269

270270
it('should not add a role to a native range input', function() {
271-
compileElement('<input type="range" ng-model="val"></div>');
271+
compileElement('<input type="range" ng-model="val"/>');
272272
expect(element.attr('role')).toBe(undefined);
273273
});
274274
});

0 commit comments

Comments
 (0)