Skip to content

Commit

Permalink
fix the CI error, introduce allow(dead_code) annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed May 7, 2024
1 parent a218831 commit cad54de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ mod tests {
],
PathBuf::from("testdata"),
);
assert_eq!(args2.resultant_args(true), vec!["macOS", "Linux", "emacs"]);
let wont = vec!["macOS", "Linux", "emacs"];
let got = args2.resultant_args(true);
assert_eq!(got.len(), wont.len());
for i in 0..wont.len() {
assert_eq!(got[i].to_lowercase(), wont[i].to_lowercase());
}
}
}
1 change: 1 addition & 0 deletions src/verboser.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(dead_code)]
pub(crate) trait Verboser {
fn print(&self, _message: String);
fn eprint(&self, _message: String);
Expand Down

0 comments on commit cad54de

Please sign in to comment.