std: Add regression test for #32074

Just to make sure we don't accidentally break this in the future.
This commit is contained in:
Alex Crichton 2016-03-20 22:07:49 -07:00
parent 7c66a89849
commit bef69a116e

View File

@ -669,4 +669,10 @@ mod tests {
&from_u32(lower).unwrap().to_string()));
}
}
#[test]
fn inference_works() {
let x = "a".to_string();
x.eq_ignore_ascii_case("A");
}
}