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:51:30 -0400
commit1205103a72db407bfbc0de3d9b78f1fd6a02520c (patch)
treeb80011049028520865ec59875bb6cded54f76f3f /test/unit/attributes.js
parent9eb838e4189c7afbd187b4663923d97a608811ef (diff)
downloadjquery-1205103a72db407bfbc0de3d9b78f1fd6a02520c.tar.gz
jquery-1205103a72db407bfbc0de3d9b78f1fd6a02520c.zip
Update grunt-contrib-jshint to 0.3.0, close gh-1204.
(cherry picked from 4adde5d14534799f3bcfac2771e1513be8a56a2f) Conflicts: src/data.js src/effects.js
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 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();
});