aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-03-14 00:23:36 +0100
committerDave Methvin <dave.methvin@gmail.com>2013-04-03 20:41:41 -0400
commit4adde5d14534799f3bcfac2771e1513be8a56a2f (patch)
tree7f5a93fc640e45a30a973afdd03abacf429218e0 /test/unit/attributes.js
parent65a6648932d197629fc454f37ce3157a51c2921a (diff)
downloadjquery-4adde5d14534799f3bcfac2771e1513be8a56a2f.tar.gz
jquery-4adde5d14534799f3bcfac2771e1513be8a56a2f.zip
Update grunt-contrib-jshint to 0.3.0, ref gh-1204.
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r--test/unit/attributes.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js
index f0ca137e6..2292d7ff5 100644
--- a/test/unit/attributes.js
+++ b/test/unit/attributes.js
@@ -852,17 +852,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();
});