diff options
| author | Igor Minar | 2011-10-19 21:52:20 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-19 21:52:20 -0700 | 
| commit | 5d43439dbe764a4c7227f51b34a81b044f13901b (patch) | |
| tree | 38a70cec3be605680f4e46ce83d46f228c85b4e5 /test/widget/inputSpec.js | |
| parent | a46f2a0db37c88465072d0eec22b0439bf003ff7 (diff) | |
| download | angular.js-5d43439dbe764a4c7227f51b34a81b044f13901b.tar.bz2 | |
fix(ng:pattern): correctly parse out inlined regexp
Diffstat (limited to 'test/widget/inputSpec.js')
| -rw-r--r-- | test/widget/inputSpec.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/widget/inputSpec.js b/test/widget/inputSpec.js index 6524f1e3..c73d5fdd 100644 --- a/test/widget/inputSpec.js +++ b/test/widget/inputSpec.js @@ -536,9 +536,9 @@ describe('widget: input', function() {          {min:0, max:1}); -    itShouldVerify('text with inlined pattern contraint', +    itShouldVerify('text with inlined pattern constraint',          ['', '000-00-0000', '123-45-6789'], -        ['x000-00-0000x', 'x'], +        ['x000-00-0000x', 'x000-00-0000', '000-00-0000x', 'x'],          {'ng:pattern':'/^\\d\\d\\d-\\d\\d-\\d\\d\\d\\d$/'}); | 
