diff --git a/src/libcore/str.rs b/src/libcore/str.rs index 4564bd2cc13..425590f4d9b 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -2231,10 +2231,10 @@ mod tests { #[test] fn test_le() { - assert (le(&~"", &~"")); - assert (le(&~"", &~"foo")); - assert (le(&~"foo", &~"foo")); - assert (!eq(&~"foo", &~"bar")); + assert (le(&"", &"")); + assert (le(&"", &"foo")); + assert (le(&"foo", &"foo")); + assert (!eq(&"foo", &"bar")); } #[test]