Skip to content
Browse files

Mask: remove 'aa' defininitions from event test cases for simplicity

  • Loading branch information...
1 parent 14a8967 commit f6e5c2dab378cecaa2efbb1f35df544e29e52abb Zach Shepherd committed Oct 18, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 tests/unit/mask/mask_events.js
View
12 tests/unit/mask/mask_events.js
@@ -114,9 +114,9 @@ test( "keypress: Typing with multiple values higlighted", function() {
test( "keypress: Typing with multi-character fields", function() {
expect( 5 );
var input = $( "#mask1" ).val("").mask({
- mask: "aa-aa-aa",
+ mask: "xx-xx-xx",
definitions: {
- aa: function( value ) {
+ xx: function( value ) {
return value;
}
}
@@ -138,9 +138,9 @@ test( "keypress: Typing with multi-character fields", function() {
test( "keypress: Typing with multi-character only accepts valid values", function() {
expect( 12 );
var input = $( "#mask1" ).val( "" ).mask({
- mask: "aa-aa-aa",
+ mask: "xx-xx-xx",
definitions: {
- aa: function( value ) {
+ xx: function( value ) {
if ( !value.length ) {
return;
}
@@ -186,9 +186,9 @@ test( "keypress: Typing with multi-character only accepts valid values", functio
test( "keypress: Backspace with multi-character ", 6, function() {
var input = $( "#mask1" ).val( "aa-bb-cc" ).mask({
- mask: "aa-aa-aa",
+ mask: "xx-xx-xx",
definitions: {
- aa: function( value ) {
+ xx: function( value ) {
if ( !value.length ) {
return;
}

0 comments on commit f6e5c2d

Please sign in to comment.
Something went wrong with that request. Please try again.