mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
handle malformed utf8 in names and cvars
This commit is contained in:
parent
5f470fefe2
commit
d12cf35e47
9 changed files with 41 additions and 13 deletions
|
|
@ -44,6 +44,12 @@ fn snapshot_test_comp() {
|
|||
snapshot_test("data/comp.dem", "data/comp.json");
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn snapshot_test_malformed_cvar() {
|
||||
snapshot_test("data/malformed_cvar.dem", "data/malformed_cvar.json");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn message_type_test_comp() {
|
||||
dump_message_types("data/comp.dem", "data/comp_message_types.json");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue