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

Commit 9e2a069

Browse files
gkalpakpetebacondarwin
authored andcommitted
test(validators): fix broken test
1 parent 3e60c89 commit 9e2a069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/directive/validatorsSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ describe('validators', function() {
351351

352352

353353
it('should accept values of any length when maxlength is non-numeric', function() {
354-
var inputElm = helper.compileInput('<input type="text" ng-model="value" ng-maxlength="{{maxlength}}" />');
354+
var inputElm = helper.compileInput('<input type="text" ng-model="value" ng-maxlength="maxlength" />');
355355
helper.changeInputValueTo('aaaaaaaaaa');
356356

357357
$rootScope.$apply('maxlength = "5"');

0 commit comments

Comments
 (0)