Skip to content

Commit f886939

Browse files
committed
Rollup merge of rust-lang#32387 - alexcrichton:ascii-test, r=aturon
std: Add regression test for rust-lang#32074 Just to make sure we don't accidentally break this in the future.
2 parents 4a1e199 + bef69a1 commit f886939

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/libstd/ascii.rs

+6
Original file line numberDiff line numberDiff line change
@@ -567,4 +567,10 @@ mod tests {
567567
&from_u32(lower).unwrap().to_string()));
568568
}
569569
}
570+
571+
#[test]
572+
fn inference_works() {
573+
let x = "a".to_string();
574+
x.eq_ignore_ascii_case("A");
575+
}
570576
}

0 commit comments

Comments
 (0)