style: tidying
This commit is contained in:
parent
d95fcc83b9
commit
fd91404ab0
7 changed files with 15 additions and 16 deletions
|
|
@ -117,9 +117,9 @@ pub fn get_test_language(name: &str, parser_code: &str, path: Option<&Path>) ->
|
|||
.unwrap();
|
||||
|
||||
let paths_to_check = if let Some(scanner_path) = &scanner_path {
|
||||
vec![parser_path.clone(), scanner_path.to_path_buf()]
|
||||
vec![parser_path, scanner_path.clone()]
|
||||
} else {
|
||||
vec![parser_path.clone()]
|
||||
vec![parser_path]
|
||||
};
|
||||
|
||||
TEST_LOADER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue