From 7651100ec104c97eea486e2576bd1f058f4ff592 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Fri, 8 Feb 2013 02:41:23 +1100 Subject: [PATCH] Fix broken tests --- src/test/run-pass/trait-inheritance-num.rs | 2 +- src/test/run-pass/trait-inheritance-num2.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/run-pass/trait-inheritance-num.rs b/src/test/run-pass/trait-inheritance-num.rs index 90e7db7dbbb..ca720c27d77 100644 --- a/src/test/run-pass/trait-inheritance-num.rs +++ b/src/test/run-pass/trait-inheritance-num.rs @@ -18,7 +18,7 @@ pub trait NumExt: Num Eq Ord {} -pub trait FloatExt: NumExt FuzzyEq {} +pub trait FloatExt: NumExt FuzzyEq {} fn greater_than_one(n: &T) -> bool { *n > from_int(1) } fn greater_than_one_float(n: &T) -> bool { *n > from_int(1) } diff --git a/src/test/run-pass/trait-inheritance-num2.rs b/src/test/run-pass/trait-inheritance-num2.rs index 455b3946ec0..ecedaac8daa 100644 --- a/src/test/run-pass/trait-inheritance-num2.rs +++ b/src/test/run-pass/trait-inheritance-num2.rs @@ -94,7 +94,7 @@ pub impl i64: IntegerExt {} pub impl int: IntegerExt {} -pub trait FloatExt: NumExt FuzzyEq {} +pub trait FloatExt: NumExt FuzzyEq {} pub impl f32: FloatExt {} pub impl f64: FloatExt {}