mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-04 02:34:11 +02:00
handle team name change with empty tag
This commit is contained in:
parent
1a997aef36
commit
b047217c66
4 changed files with 3278 additions and 12 deletions
|
|
@ -53,6 +53,14 @@ fn test_parse_team_changed_name_html() {
|
|||
assert_json_snapshot!(parsed);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_team_empty_name_change_html() {
|
||||
let body = read_to_string("tests/data/team_32437.html").unwrap();
|
||||
let parser = TeamParser::new();
|
||||
let parsed = parser.parse(&body).unwrap();
|
||||
assert_json_snapshot!(parsed);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_team_roster_history_html() {
|
||||
let body = read_to_string("tests/data/team_roster_history_7861.html").unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue