diff options
Diffstat (limited to 'src/test/run-pass/conditional-compile.rs')
| -rw-r--r-- | src/test/run-pass/conditional-compile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/conditional-compile.rs b/src/test/run-pass/conditional-compile.rs index 0e4c92085ed..0a579916e93 100644 --- a/src/test/run-pass/conditional-compile.rs +++ b/src/test/run-pass/conditional-compile.rs @@ -88,7 +88,7 @@ pub fn main() { fail!() } pub fn main() { // Exercise some of the configured items in ways that wouldn't be possible // if they had the bogus definition - assert (b); + fail_unless!((b)); let x: t = true; let y: tg = bar; @@ -104,7 +104,7 @@ fn test_in_fn_ctxt() { #[cfg(bogus)] const i: int = 0; const i: int = 1; - assert (i == 1); + fail_unless!((i == 1)); } mod test_foreign_items { |
