diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-05-09 13:52:07 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2013-05-14 16:36:24 +0200 |
| commit | 04de8f852c4def51f02eb812f4ecee83d416911b (patch) | |
| tree | bf394aa7ebda0ae70ae70d03f753d6de4388e939 /src/test/run-fail | |
| parent | bdc182cc41c2741edc6fdc4ec09b8522479aab40 (diff) | |
Fix cosmetics for fail!() calls
Diffstat (limited to 'src/test/run-fail')
| -rw-r--r-- | src/test/run-fail/assert-eq-macro-fail.rs | 2 | ||||
| -rw-r--r-- | src/test/run-fail/while-fail.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-fail/assert-eq-macro-fail.rs b/src/test/run-fail/assert-eq-macro-fail.rs index 7d98d0dccde..facfb89409c 100644 --- a/src/test/run-fail/assert-eq-macro-fail.rs +++ b/src/test/run-fail/assert-eq-macro-fail.rs @@ -1,4 +1,4 @@ -// error-pattern:left: 14 != right: 15 +// error-pattern:left: 14 does not equal right: 15 #[deriving(Eq)] struct Point { x : int } diff --git a/src/test/run-fail/while-fail.rs b/src/test/run-fail/while-fail.rs index 8f409d93536..db04026ed97 100644 --- a/src/test/run-fail/while-fail.rs +++ b/src/test/run-fail/while-fail.rs @@ -10,5 +10,5 @@ // error-pattern:giraffe fn main() { - fail!({ while true { fail!(~"giraffe")}; "clandestine" }); + fail!({ while true { fail!("giraffe") }; "clandestine" }); } |
