1
0
Fork 0
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:
Robin Appelman 2019-05-25 23:53:44 +02:00
commit d12cf35e47
9 changed files with 41 additions and 13 deletions

View file

@ -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");