mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-24 12:13:59 +01:00
Fix typos
This commit is contained in:
committed by
Jörn Zaefferer
parent
8fc08ed16c
commit
4a51e71c6f
@@ -232,7 +232,7 @@ test("required with dependencies", function() {
|
||||
var v = jQuery("#form").validate(),
|
||||
method = $.validator.methods.required,
|
||||
e = $('#hidden2, #select1, #area2, #radio1, #check2');
|
||||
ok( method.call( v, e[0].value, e[0], "asffsaa" ), "Valid text input due to depencie not met" );
|
||||
ok( method.call( v, e[0].value, e[0], "asffsaa" ), "Valid text input due to dependency not met" );
|
||||
ok(!method.call( v, e[0].value, e[0], "input" ), "Invalid text input" );
|
||||
ok( method.call( v, e[0].value, e[0], function() { return false; }), "Valid text input due to dependency not met" );
|
||||
ok(!method.call( v, e[0].value, e[0], function() { return true; }), "Invalid text input" );
|
||||
|
||||
Reference in New Issue
Block a user