Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Erk- committed Sep 4, 2024
1 parent aa3cb6e commit 3f417fe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions twilight-cache-inmemory/src/event/guild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,10 @@ mod tests {
VerificationLevel,
},
id::Id,
util::datetime::{Timestamp, TimestampParseError},
util::{
datetime::{Timestamp, TimestampParseError},
mustbe::MustBeBool,
},
};

#[allow(clippy::too_many_lines)]
Expand Down Expand Up @@ -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());
Expand All @@ -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());
Expand Down

0 comments on commit 3f417fe

Please sign in to comment.