mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-04 02:34:11 +02:00
fix teams with no timezone
This commit is contained in:
parent
14faa36a12
commit
1a997aef36
9 changed files with 3043 additions and 13 deletions
|
|
@ -37,6 +37,14 @@ fn test_parse_older_team_html() {
|
|||
assert_json_snapshot!(parsed);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_team_no_tz_html() {
|
||||
let body = read_to_string("tests/data/team_8157.html").unwrap();
|
||||
let parser = TeamParser::new();
|
||||
let parsed = parser.parse(&body).unwrap();
|
||||
assert_json_snapshot!(parsed);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_team_changed_name_html() {
|
||||
let body = read_to_string("tests/data/team_6929.html").unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue