diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2019-02-27 14:44:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-27 14:44:20 +0100 |
| commit | 911a633bb1ce0f20fec1c8c45fe4cbf025f19e07 (patch) | |
| tree | 90dcdcc5224423a58fb4b099b4e805c206c2178f | |
| parent | 988b3d5f9e43a9d63a8bff86756c27b9cb69615c (diff) | |
| download | rust-911a633bb1ce0f20fec1c8c45fe4cbf025f19e07.tar.gz rust-911a633bb1ce0f20fec1c8c45fe4cbf025f19e07.zip | |
Remove copy paste error in char tests
Co-Authored-By: xfix <konrad@borowski.pw>
| -rw-r--r-- | src/libcore/tests/char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/tests/char.rs b/src/libcore/tests/char.rs index 579feed288a..57e9f4e384e 100644 --- a/src/libcore/tests/char.rs +++ b/src/libcore/tests/char.rs @@ -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(); |
