Skip to content

Commit 76a5391

Browse files
committed
Uncomment a test. Fixes #4449.
1 parent 7f826cb commit 76a5391

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/libextra/url.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,16 +1061,12 @@ mod tests {
10611061
10621062
#[test]
10631063
fn test_decode_form_urlencoded() {
1064-
// FIXME #4449: Commented out because this causes an ICE, but only
1065-
// on FreeBSD
1066-
/*
10671064
assert_eq!(decode_form_urlencoded([]).len(), 0);
10681065
10691066
let s = "a=1&foo+bar=abc&foo+bar=12+%3D+34".as_bytes();
10701067
let form = decode_form_urlencoded(s);
10711068
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-
*/
1069+
assert_eq!(form.get(&~"a"), &~[~"1"]);
1070+
assert_eq!(form.get(&~"foo bar"), &~[~"abc", ~"12 = 34"]);
10751071
}
10761072
}

0 commit comments

Comments
 (0)