about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2013-07-28 09:31:37 -0700
committerErick Tryzelaar <erick.tryzelaar@gmail.com>2013-08-07 08:16:37 -0700
commit5c08237456c3d6b4c9553ebe2f13eba5b97a4e09 (patch)
treeb1b66a46b2d865102b6615081141ca64fc7b8337 /src/compiletest
parent54c8c23d0582037e525fba917fb865bfba0e9b78 (diff)
option.get -> option.unwrap
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/runtest.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index 5c1cc78d678..0d1c5c8eb43 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -162,9 +162,8 @@ fn run_pretty_test(config: &config, props: &TestProps, testfile: &Path) {
         round += 1;
     }
 
-    let mut expected =
-        match props.pp_exact {
-          Some(ref file) => {
+    let mut expected = match props.pp_exact {
+        Some(ref file) => {
             let filepath = testfile.dir_path().push_rel(file);
             io::read_whole_file_str(&filepath).unwrap()
           }