Skip to content

Commit 911a633

Browse files
Remove copy paste error in char tests
Co-Authored-By: xfix <[email protected]>
1 parent 988b3d5 commit 911a633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/tests/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fn test_to_digit() {
7676
#[test]
7777
fn test_to_lowercase() {
7878
fn lower(c: char) -> String {
79-
let to_lowercase = c.to_uppercase();
79+
let to_lowercase = c.to_lowercase();
8080
assert_eq!(to_lowercase.len(), to_lowercase.count());
8181
let iter: String = c.to_lowercase().collect();
8282
let disp: String = c.to_lowercase().to_string();

0 commit comments

Comments
 (0)