diff --git a/licensor_fetch/src/main.rs b/licensor_fetch/src/main.rs index 68a633c..9a24f82 100644 --- a/licensor_fetch/src/main.rs +++ b/licensor_fetch/src/main.rs @@ -86,7 +86,7 @@ fn main() { let mut licenses_path = resources_path.clone(); licenses_path.push("licenses"); - let mut exceptions_path = resources_path.clone(); + let mut exceptions_path = resources_path; exceptions_path.push("exceptions"); let mut lld_archive = Archive::new(decoded_archive.as_slice()); diff --git a/tests/integration.rs b/tests/integration.rs index 0ed0a22..1c7263f 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -69,7 +69,7 @@ fn license_and_name() { .assert() .success() .stdout(predicates::str::starts_with( - "MIT License Copyright (c) 2020 Raphaël Thériault\n", + "MIT License Copyright (c) 2021 Raphaël Thériault\n", )) .stderr(predicates::str::is_empty()); }