From bd1c61548ec2ddde4d85dbef88eed6627b536d13 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 31 Mar 2011 21:18:23 -0400 Subject: Move str test from expr-if.rs to expr-if-box.rs in preperation for breaking that code path. --- src/test/run-pass/expr-if.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/test/run-pass/expr-if.rs') diff --git a/src/test/run-pass/expr-if.rs b/src/test/run-pass/expr-if.rs index e69a629f..7c99f2ea 100644 --- a/src/test/run-pass/expr-if.rs +++ b/src/test/run-pass/expr-if.rs @@ -80,11 +80,6 @@ fn test_if_as_block_result() { check (res); } -fn test_str() { - auto res = if (true) { "happy" } else { "sad" }; - check (res == "happy"); -} - fn main() { test_if(); test_else(); @@ -94,5 +89,4 @@ fn main() { test_inferrence(); test_if_as_if_condition(); test_if_as_block_result(); - test_str(); } -- cgit v1.2.3