mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-23 19:29:48 +02:00
Break: extract the re-imports to prelude
This commit is contained in:
1 parent
e1d9c27bda
commit
de6deb3a06
5 files changed
+11
-11
No files matched your search
@@ -1,8 +1,7 @@
|
||||
use std::fs::File;
|
||||
|
||||
use anyhow::Result;
|
||||
use wotbreplay_parser::models::TeamNumber;
|
||||
use wotbreplay_parser::Replay;
|
||||
use wotbreplay_parser::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn player_results_ok() -> Result<()> {
|
||||
@@ -114,7 +113,7 @@ fn author_results_ok() -> Result<()> {
|
||||
assert_eq!(battle_results.author.credits_earned, 53623);
|
||||
assert_eq!(battle_results.author.combat_xp, 2370);
|
||||
assert_eq!(battle_results.author.damage_dealt, 1738);
|
||||
assert_eq!(battle_results.author.account_id, 594778041);
|
||||
assert_eq!(battle_results.author.account_id, AccountId(594778041));
|
||||
assert_eq!(battle_results.free_xp, 116);
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user