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:
commit
f8869394bb
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user