]> git.lizzy.rs Git - rust.git/blobdiff - src/compiletest/runtest.rs
option.get -> option.unwrap
[rust.git] / src / compiletest / runtest.rs
index 5c1cc78d678f361f1525226fbcb8e1bf7f807f34..0d1c5c8eb43516c738c7df112f9c0fe5f48694c9 100644 (file)
@@ -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()
           }