diff options
author | John Resig <jeresig@gmail.com> | 2010-09-30 15:40:30 -0700 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-09-30 15:40:30 -0700 |
commit | 57c046f91cbc3caf174ecc993fe883c027340901 (patch) | |
tree | d7b85d696015dd6e15a1669a7fc9aae212e9d839 /test/unit/ajax.js | |
parent | 06c505d85194890f8bacabc66895a6167b61728a (diff) | |
download | jquery-57c046f91cbc3caf174ecc993fe883c027340901.tar.gz jquery-57c046f91cbc3caf174ecc993fe883c027340901.zip |
Tweak broken serialize tests from commit 879799fe955f01b85b59fd8a0096d415fc48df03. Thanks to @jaubourg for the catch.
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r-- | test/unit/ajax.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 61992706d..85c7380d7 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -362,11 +362,11 @@ test("serialize()", function() { ); equals( jQuery('#form').serialize(), - "action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2", + "action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&select5=3", 'Check form serialization as query string'); equals( jQuery('#form :input').serialize(), - "action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2", + "action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&select5=3", 'Check input serialization as query string'); equals( jQuery('#testForm').serialize(), @@ -378,7 +378,7 @@ test("serialize()", function() { 'Check input serialization as query string'); equals( jQuery('#form, #testForm').serialize(), - "action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&T3=%3F%0AZ&H1=x&H2=&PWD=&T1=&T2=YES&My+Name=me&S1=abc&S3=YES&S4=", + "action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&select5=3&T3=%3F%0AZ&H1=x&H2=&PWD=&T1=&T2=YES&My+Name=me&S1=abc&S3=YES&S4=", 'Multiple form serialization as query string'); /* Temporarily disabled. Opera 10 has problems with form serialization. |