Skip to content

Commit

Permalink
Tiny change to tighten up alt-pattern-drop.rs test.
Browse files Browse the repository at this point in the history
  • Loading branch information
froystig committed Aug 27, 2010
1 parent 5e77e78 commit ecb7fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-pass/alt-pattern-drop.rs
Expand Up @@ -11,7 +11,7 @@ fn main() {

alt (x) {
case (make_t(y)) { log y; } // ref up and ref down
case (_) { log "?"; }
case (_) { log "?"; fail; }
}

log _str.refcount(s);
Expand Down

0 comments on commit ecb7fc2

Please sign in to comment.