diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2013-07-28 09:31:37 -0700 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2013-08-07 08:16:37 -0700 |
| commit | 5c08237456c3d6b4c9553ebe2f13eba5b97a4e09 (patch) | |
| tree | b1b66a46b2d865102b6615081141ca64fc7b8337 /src/compiletest | |
| parent | 54c8c23d0582037e525fba917fb865bfba0e9b78 (diff) | |
option.get -> option.unwrap
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/runtest.rs | 5 |
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() } |
