diff options
| author | Kevin Cantu <me@kevincantu.org> | 2012-01-23 03:58:48 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-23 22:28:25 -0800 |
| commit | 7608a06b339485949ae03f05b7fd0ff4f25bfa41 (patch) | |
| tree | ceefdc3849dba55c026e39a05237c6249a4524db | |
| parent | 536dd2f5a72e3c05b41a89af02142d2fc9826bd9 (diff) | |
| download | rust-7608a06b339485949ae03f05b7fd0ff4f25bfa41.tar.gz rust-7608a06b339485949ae03f05b7fd0ff4f25bfa41.zip | |
improved test case for str::any
| -rw-r--r-- | src/libcore/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs index 83ab8ac5b09..b19b51623fd 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -1768,7 +1768,7 @@ mod tests { assert false == any("ymca", char::is_uppercase); assert true == any("YMCA", char::is_uppercase); assert true == any("yMCA", char::is_uppercase); - assert true == any("YMCy", char::is_uppercase); + assert true == any("Ymcy", char::is_uppercase); } #[test] |
