1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

adjust tests

This commit is contained in:
Robin Appelman 2021-07-22 14:58:43 +02:00
commit 00596f946f
8 changed files with 2544 additions and 9 deletions

View file

@ -24,7 +24,12 @@ fn snapshot_test(input_file: &str, snapshot_file: &str) {
.as_slice(),
)
.unwrap();
pretty_assertions::assert_eq!(expected.start_tick, state.start_tick);
pretty_assertions::assert_eq!(expected.chat, state.chat);
pretty_assertions::assert_eq!(expected.deaths, state.deaths);
pretty_assertions::assert_eq!(expected.interval_per_tick, state.interval_per_tick);
pretty_assertions::assert_eq!(expected.rounds, state.rounds);
pretty_assertions::assert_eq!(expected.users, state.users);
pretty_assertions::assert_eq!(expected, state);
}