|
|
@@ -120,12 +120,12 @@ test("YoussefTaghlabi isValid(\"12,345.67\", { alias: \"decimal\" }", function (
|
|
|
});
|
|
|
|
|
|
test("thomstark isValid(\"12lbs\", {mask:\"99[9]lb\\s\", greedy:false, skipOptionalPartCharacter: \"\", \"clearIncomplete\":true}", function () {
|
|
|
- var isValid = $.inputmask.isValid("12lbs", {mask:"99[9]lb\\s", greedy:false, skipOptionalPartCharacter: "", "clearIncomplete":true});
|
|
|
+ var isValid = $.inputmask.isValid("12lbs", { mask: "99[9]lb\\s", greedy: false, skipOptionalPartCharacter: "", "clearIncomplete": true });
|
|
|
equal(isValid, true, "Result " + isValid);
|
|
|
});
|
|
|
|
|
|
test("thomstark isValid(\"1'2\"\", {mask:\"9'9[9]\"\", greedy:false, skipOptionalPartCharacter: \"\", \"clearIncomplete\":true}", function () {
|
|
|
- var isValid = $.inputmask.isValid("1'2\"", {mask:"9'9[9]\"", greedy:false, skipOptionalPartCharacter: "", "clearIncomplete":true});
|
|
|
+ var isValid = $.inputmask.isValid("1'2\"", { mask: "9'9[9]\"", greedy: false, skipOptionalPartCharacter: "", "clearIncomplete": true });
|
|
|
equal(isValid, true, "Result " + isValid);
|
|
|
});
|
|
|
|
|
|
@@ -138,3 +138,8 @@ test("thomstark isValid(\"9'9{1,2}\", {mask:\"9'9[9]\"\", greedy:false, skipOpti
|
|
|
var isValid = $.inputmask.isValid("1'2\"", { mask: "9'9{1,2}\"", greedy: false, skipOptionalPartCharacter: "", "clearIncomplete": true });
|
|
|
equal(isValid, true, "Result " + isValid);
|
|
|
});
|
|
|
+
|
|
|
+test("a13x3y isValid(\"some_body@mail.com\", {alias:\"email\"}", function () {
|
|
|
+ var isValid = $.inputmask.isValid("some_body@mail.com", { alias: "email" });
|
|
|
+ equal(isValid, true, "Result " + isValid);
|
|
|
+});
|