From 5c08237456c3d6b4c9553ebe2f13eba5b97a4e09 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 28 Jul 2013 09:31:37 -0700 Subject: option.get -> option.unwrap --- src/compiletest/runtest.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/compiletest') 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() } -- cgit 1.4.1-3-g733a5