We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55f528f + 76a5391 commit b094cf4Copy full SHA for b094cf4
src/libextra/url.rs
@@ -1061,16 +1061,12 @@ mod tests {
1061
1062
#[test]
1063
fn test_decode_form_urlencoded() {
1064
- // FIXME #4449: Commented out because this causes an ICE, but only
1065
- // on FreeBSD
1066
- /*
1067
assert_eq!(decode_form_urlencoded([]).len(), 0);
1068
1069
let s = "a=1&foo+bar=abc&foo+bar=12+%3D+34".as_bytes();
1070
let form = decode_form_urlencoded(s);
1071
assert_eq!(form.len(), 2);
1072
- assert_eq!(form.get_ref(&~"a"), &~[~"1"]);
1073
- assert_eq!(form.get_ref(&~"foo bar"), &~[~"abc", ~"12 = 34"]);
1074
- */
+ assert_eq!(form.get(&~"a"), &~[~"1"]);
+ assert_eq!(form.get(&~"foo bar"), &~[~"abc", ~"12 = 34"]);
1075
}
1076
0 commit comments