aboutsummaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-11-17 10:06:59 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-11-17 10:06:59 +0100
commit28d098e5ae326dd899b3a31ab05bfcd464a83554 (patch)
tree7ae9610ebfb8677b9f097545b2bbb3825abd2572 /src/output
parent08e686a5161d3baf1eb25014721147bb4e17a54d (diff)
downloadraidgrep-28d098e5ae326dd899b3a31ab05bfcd464a83554.tar.gz
raidgrep-28d098e5ae326dd899b3a31ab05bfcd464a83554.tar.bz2
raidgrep-28d098e5ae326dd899b3a31ab05bfcd464a83554.zip
fix tests
Diffstat (limited to 'src/output')
-rw-r--r--src/output/sorting.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/output/sorting.rs b/src/output/sorting.rs
index 234d804..27ea1e1 100644
--- a/src/output/sorting.rs
+++ b/src/output/sorting.rs
@@ -135,7 +135,7 @@ mod tests {
use super::*;
use chrono::prelude::*;
- use evtclib::Encounter as E;
+ use evtclib::{Encounter as E, GameMode};
#[test]
fn test_parse_component() {
@@ -179,6 +179,7 @@ mod tests {
players: vec![],
outcome: FightOutcome::Success,
is_cm: false,
+ game_mode: Some(GameMode::Raid),
},
&LogResult {
log_file: "".into(),
@@ -188,6 +189,7 @@ mod tests {
players: vec![],
outcome: FightOutcome::Success,
is_cm: false,
+ game_mode: Some(GameMode::Raid),
},
&LogResult {
log_file: "".into(),
@@ -197,6 +199,7 @@ mod tests {
players: vec![],
outcome: FightOutcome::Success,
is_cm: false,
+ game_mode: Some(GameMode::Raid),
},
&LogResult {
log_file: "".into(),
@@ -206,6 +209,7 @@ mod tests {
players: vec![],
outcome: FightOutcome::Success,
is_cm: false,
+ game_mode: Some(GameMode::Raid),
},
&LogResult {
log_file: "".into(),
@@ -215,6 +219,7 @@ mod tests {
players: vec![],
outcome: FightOutcome::Success,
is_cm: false,
+ game_mode: Some(GameMode::Raid),
},
];