Rollup merge of #32387 - alexcrichton:ascii-test, r=aturon

std: Add regression test for #32074

Just to make sure we don't accidentally break this in the future.
This commit is contained in:
Manish Goregaokar 2016-03-26 20:35:49 +05:30
commit f8869394bb
1 changed files with 6 additions and 0 deletions

View File

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