diff --git a/twilight-cache-inmemory/src/event/guild.rs b/twilight-cache-inmemory/src/event/guild.rs index 8d8c9b15d4..e96004e9db 100644 --- a/twilight-cache-inmemory/src/event/guild.rs +++ b/twilight-cache-inmemory/src/event/guild.rs @@ -181,7 +181,10 @@ mod tests { VerificationLevel, }, id::Id, - util::datetime::{Timestamp, TimestampParseError}, + util::{ + datetime::{Timestamp, TimestampParseError}, + mustbe::MustBeBool, + }, }; #[allow(clippy::too_many_lines)] @@ -358,7 +361,7 @@ mod tests { cache.update(&GuildCreate::Unavailable( twilight_model::guild::UnavailableGuild { id: guild.id, - unavailable: true, + unavailable: MustBeBool, }, )); assert!(cache.unavailable_guilds.get(&guild.id).is_some()); @@ -370,7 +373,7 @@ mod tests { cache.update(&GuildCreate::Unavailable( twilight_model::guild::UnavailableGuild { id: guild.id, - unavailable: true, + unavailable: MustBeBool, }, )); assert!(cache.unavailable_guilds.get(&guild.id).is_some());