diff options
| author | Lindsey Kuper <[email protected]> | 2011-04-07 14:38:14 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-07 15:22:34 -0700 |
| commit | 21b31a350a78374de951ae72d1223d3bd4894301 (patch) | |
| tree | e67d0e2a29e2cda3e5830ae6d111d1488c60dcb8 /src | |
| parent | Move to macro-based logging checks in the C++ code (diff) | |
| download | rust-21b31a350a78374de951ae72d1223d3bd4894301.tar.xz rust-21b31a350a78374de951ae72d1223d3bd4894301.zip | |
Updated test to use 'check' rather than just logging results.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/run-pass/obj-self-3.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/test/run-pass/obj-self-3.rs b/src/test/run-pass/obj-self-3.rs index 183bb3c7..0c0a4b79 100644 --- a/src/test/run-pass/obj-self-3.rs +++ b/src/test/run-pass/obj-self-3.rs @@ -18,14 +18,12 @@ fn main() { auto a = foo(); let int i = 0; - // output should be: 0, 1, 2, 4 - log i; i = a.m1(i); - log i; + check (i == 1); i = a.m2(i); - log i; + check (i == 2); i = a.m3(i); - log i; + check (i == 4); } |