diff options
| author | Roy Frostig <[email protected]> | 2010-08-27 13:29:48 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-08-27 13:29:53 -0700 |
| commit | ecb7fc20380e7b28809c04b8435d89ecce504358 (patch) | |
| tree | ca962b2d85a4b6585e74d4c6b2d22c6f7167f87a /src/test/run-pass/alt-pattern-drop.rs | |
| parent | Have alt-pattern drop the slots it initializes when binding slot patterns. A... (diff) | |
| download | rust-ecb7fc20380e7b28809c04b8435d89ecce504358.tar.xz rust-ecb7fc20380e7b28809c04b8435d89ecce504358.zip | |
Tiny change to tighten up alt-pattern-drop.rs test.
Diffstat (limited to 'src/test/run-pass/alt-pattern-drop.rs')
| -rw-r--r-- | src/test/run-pass/alt-pattern-drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/alt-pattern-drop.rs b/src/test/run-pass/alt-pattern-drop.rs index d1f1440f..4adf2f3a 100644 --- a/src/test/run-pass/alt-pattern-drop.rs +++ b/src/test/run-pass/alt-pattern-drop.rs @@ -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); |