option.get -> option.unwrap
This commit is contained in:
parent
54c8c23d05
commit
5c08237456
2 changed files with 4 additions and 5 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue