git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaked the headers test to be apache independent and actually work.
[jquery.git]
/
test
/
unit
/
ajax.js
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
d0f2e43
..
b11342f
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
test/unit/ajax.js
@@
-286,16
+286,16
@@
test(".ajax() - headers" , function() {
stop();
var requestHeaders = {
stop();
var requestHeaders = {
- Simple: "value",
- "Something-Else": "other value",
- Other: "something else"
+ siMPle: "value",
+ "SometHing-elsE": "other value",
+ OthEr: "something else"
},
list = [],
i,
sync = 2;
for( i in requestHeaders ) {
},
list = [],
i,
sync = 2;
for( i in requestHeaders ) {
- list.push( i.toLowerCase() );
+ list.push( i );
}
list = list.join( "_" );
}
list = list.join( "_" );
@@
-305,7
+305,7
@@
test(".ajax() - headers" , function() {
success: function( data ) {
var tmp = [];
for ( i in requestHeaders ) {
success: function( data ) {
var tmp = [];
for ( i in requestHeaders ) {
- tmp.push( i.toLowerCase() , ": " , requestHeaders[ i ] , "\n" );
+ tmp.push( i , ": " , requestHeaders[ i ] , "\n" );
}
tmp = tmp.join( "" );
}
tmp = tmp.join( "" );