allow unwrap in src/commands.rs's tests
This commit is contained in:
parent
93852b9155
commit
4b78ebbb7b
@ -67,6 +67,7 @@ impl BotCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
#[allow(clippy::unwrap_used)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user