From 9fa11ab76003bdac03d4a03ca9fabb6f4d4ab8ab Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 25 Feb 2025 19:54:48 -0500 Subject: [PATCH] Check entries that actually exist in slot roundtrip test This doesn't fix it yet (because we're lacking some write capabilities) but now it shouldn't assert before it even tries. --- tests/roundtrip.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/roundtrip.rs b/tests/roundtrip.rs index 163c28c..adc0fc6 100644 --- a/tests/roundtrip.rs +++ b/tests/roundtrip.rs @@ -45,8 +45,8 @@ fn roundtrip_slot() { let tagged_object = &local_profile.objs[0]; assert_eq!(tagged_object.size_in_bytes, 900); - tagged_object.entry("Players").unwrap(); - tagged_object.entry("Level").unwrap(); + tagged_object.entry("PlayTime").unwrap(); + tagged_object.entry("SlotInfo").unwrap(); // TODO: check values