Skip to content

Commit

Permalink
Remove copy paste error in char tests
Browse files Browse the repository at this point in the history
Co-Authored-By: xfix <konrad@borowski.pw>
  • Loading branch information
ollie27 and KamilaBorowska authored Feb 27, 2019
1 parent 988b3d5 commit 911a633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/tests/char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn test_to_digit() {
#[test]
fn test_to_lowercase() {
fn lower(c: char) -> String {
let to_lowercase = c.to_uppercase();
let to_lowercase = c.to_lowercase();
assert_eq!(to_lowercase.len(), to_lowercase.count());
let iter: String = c.to_lowercase().collect();
let disp: String = c.to_lowercase().to_string();
Expand Down

0 comments on commit 911a633

Please sign in to comment.