diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-01-04 16:04:37 -0800 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-01-05 10:44:38 -0800 |
| commit | afe792496a69e30ea313ca5ff181430e44aeb69b (patch) | |
| tree | 91a9660155c3aa658a5858356216db493bf5149b /src/test | |
| parent | f832edc369761839f25161df94200b7cce9ddc20 (diff) | |
| download | rust-afe792496a69e30ea313ca5ff181430e44aeb69b.tar.gz rust-afe792496a69e30ea313ca5ff181430e44aeb69b.zip | |
correct test to reference right value
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/block-arg-as-stmt-with-value.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/block-arg-as-stmt-with-value.rs b/src/test/compile-fail/block-arg-as-stmt-with-value.rs index ccdc29f004a..dfa39082a94 100644 --- a/src/test/compile-fail/block-arg-as-stmt-with-value.rs +++ b/src/test/compile-fail/block-arg-as-stmt-with-value.rs @@ -9,5 +9,5 @@ fn compute1() -> float { fn main() { let x = compute1(); log(debug, x); - assert(y == -4f); + assert(x == -4f); } |
