From f7f423d97fd940fd544224c5308e10e89d508d91 Mon Sep 17 00:00:00 2001 From: tauraamui Date: Sun, 28 Jul 2024 23:21:35 +0100 Subject: [PATCH] test: remove unwanted old test and adjust flag value check test --- src/cmd_args_test.v | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/cmd_args_test.v b/src/cmd_args_test.v index aeaa59e6..3574481d 100644 --- a/src/cmd_args_test.v +++ b/src/cmd_args_test.v @@ -1,11 +1,6 @@ module main -fn test_options_returns_blank_if_no_os_args() { - options := resolve_options_from_args([]) - assert options == Options{} -} - fn test_options_matches_given_args_list_values() { options := resolve_options_from_args(["--debug"]) - assert options == Options{ debug_mode: true } + assert options.debug_mode }