From 470a3014673d25a9056fddcdea124890dacc41aa Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 30 Aug 2012 11:02:13 -0700 Subject: [PATCH] libcore: Fix test issues harder --- 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 425590f4d9b..a2e29afa3aa 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -2234,7 +2234,7 @@ mod tests { assert (le(&"", &"")); assert (le(&"", &"foo")); assert (le(&"foo", &"foo")); - assert (!eq(&"foo", &"bar")); + assert (!eq(&~"foo", &~"bar")); } #[test]