std: silence some test warnings.

This commit is contained in:
Huon Wilson
2013-06-28 01:45:24 +10:00
parent d8087cae44
commit 366ca44cc8
6 changed files with 22 additions and 27 deletions

View File

@@ -2249,7 +2249,7 @@ mod tests {
assert!("" <= "");
assert!("" <= "foo");
assert!("foo" <= "foo");
assert!("foo" != ~"bar");
assert!("foo" != "bar");
}
#[test]
@@ -3156,6 +3156,7 @@ mod tests {
#[test]
fn test_add() {
#[allow(unnecessary_allocation)];
macro_rules! t (
($s1:expr, $s2:expr, $e:expr) => {
assert_eq!($s1 + $s2, $e);