about summary refs log tree commit diff
path: root/src/test/run-fail/assert-eq-macro-fail.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-1/+1
2013-04-25Made fail! and assert! accept both &'static str and ~str, as well as a fmt! ↵Marvin Löbel-1/+1
like format list. Unwinding through macros now happens as a call to the trait function `FailWithCause::fail_with()`, which consumes self, allowing to use a more generic failure object in the future.
2013-03-22test: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-20add assert_eq! macroJohn Clements-0/+8
the assert_eq! macro compares its arguments and fails if they're not equal. It's more informative than fail_unless!, because it explicitly writes the given and expected arguments on failure.