Skip to content

Commit ecb7fc2

Browse files
committed
Tiny change to tighten up alt-pattern-drop.rs test.
1 parent 5e77e78 commit ecb7fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/alt-pattern-drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn main() {
1111

1212
alt (x) {
1313
case (make_t(y)) { log y; } // ref up and ref down
14-
case (_) { log "?"; }
14+
case (_) { log "?"; fail; }
1515
}
1616

1717
log _str.refcount(s);

0 commit comments

Comments
 (0)