Skip to content

Commit

Permalink
correct test to reference right value
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jan 5, 2012
1 parent 68e178a commit 31fc233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/block-arg-as-stmt-with-value.rs
Expand Up @@ -9,5 +9,5 @@ fn compute1() -> float {
fn main() {
let x = compute1();
log(debug, x);
assert(y == -4f);
assert(x == -4f);
}

0 comments on commit 31fc233

Please sign in to comment.