diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/attributes.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 5996ce15c..976869780 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -848,17 +848,17 @@ test( "val()", function() { test("val() with non-matching values on dropdown list", function() { expect( 3 ); - + jQuery("#select5").val( "" ); equal( jQuery("#select5").val(), null, "Non-matching set on select-one" ); - + var select6 = jQuery("<select multiple id=\"select6\"><option value=\"1\">A</option><option value=\"2\">B</option></select>").appendTo("#form"); jQuery(select6).val( "nothing" ); equal( jQuery(select6).val(), null, "Non-matching set (single value) on select-multiple" ); - + jQuery(select6).val( ["nothing1", "nothing2"] ); equal( jQuery(select6).val(), null, "Non-matching set (array of values) on select-multiple" ); - + select6.remove(); }); |