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
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue