Switched from using QUnit's isObj/isSet to the more robust same method.

This commit is contained in:
John Resig 2009-09-29 19:49:43 +00:00
parent f8b7d391e6
commit 4bda398e6a
6 changed files with 95 additions and 95 deletions

View file

@ -602,7 +602,7 @@ test("val()", function() {
equals( jQuery('#select2').val(), '3', 'Call val() on a single="single" select' );
isSet( jQuery('#select3').val(), ['1', '2'], 'Call val() on a multiple="multiple" select' );
same( jQuery('#select3').val(), ['1', '2'], 'Call val() on a multiple="multiple" select' );
equals( jQuery('#option3c').val(), '2', 'Call val() on a option element with value' );