mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 11:46:50 +00:00
chore: allow some linting issues in tests
This commit is contained in:
parent
b055146c8f
commit
cea28cd284
@ -50,6 +50,7 @@ pub fn check_file(file: &Path, password: &str) -> Result<Vec<CheckNotice>, Check
|
||||
|
||||
let mut result = vec![];
|
||||
|
||||
#[allow(clippy::unwrap_used)]
|
||||
let progress_bar = ProgressBar::new(archive.len() as u64).with_style(
|
||||
ProgressStyle::default_bar()
|
||||
.template("{wide_bar} {msg:32} {pos}/{len}")
|
||||
|
@ -506,6 +506,8 @@ pub struct DataFormEntries {
|
||||
entry_name: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
#[allow(clippy::unwrap_used)]
|
||||
#[allow(clippy::panic)]
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::str::FromStr;
|
||||
|
@ -112,6 +112,7 @@ pub struct MenuCategory {
|
||||
pub column: String,
|
||||
}
|
||||
|
||||
#[allow(clippy::panic)]
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::profile::{Profile, WithScriptsCode};
|
||||
|
Loading…
x
Reference in New Issue
Block a user