From 7608a06b339485949ae03f05b7fd0ff4f25bfa41 Mon Sep 17 00:00:00 2001 From: Kevin Cantu Date: Mon, 23 Jan 2012 03:58:48 -0800 Subject: [PATCH] improved test case for str::any --- src/libcore/str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]