From ff5fb8549d6a270ed3625171c6018522d84230d8 Mon Sep 17 00:00:00 2001 From: bkushigian Date: Sat, 26 Oct 2024 11:48:01 -0700 Subject: [PATCH] Updated test for removed_lines --- src/game/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/tests.rs b/src/game/tests.rs index 02944b9..5564a5a 100644 --- a/src/game/tests.rs +++ b/src/game/tests.rs @@ -1311,7 +1311,7 @@ fn deserialize_config_defaults() { \"effective_stack\": 500 }, \"added_lines\": [], - \"removed_lines\": [] + \"removed_lines\": [[\"Check\", \"Check\"]] }"; let result = deserialize_configs_from_str(config_contents); @@ -1342,7 +1342,7 @@ fn deserialize_config_defaults() { assert_eq!(tree_config.rake_rate, 0.0); assert!(added.is_empty()); - assert!(removed.is_empty()); + assert_eq!(removed, vec![vec![Action::Check, Action::Check]]); // This should not deserialize: let config_contents = "{}";