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

Commit 6253de3

Browse files
m-amrNarretz
authored andcommitted
test(ngAria): remove incorrect closing div tag after input element
Closes #14146 Closes #14147
1 parent 32feb2b commit 6253de3

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
@@ -249,7 +249,7 @@ describe('$aria', function() {
249249
});
250250

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

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

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

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

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

0 commit comments

Comments
 (0)