Skip to content

Commit

Permalink
test: remove unwanted old test and adjust flag value check test
Browse files Browse the repository at this point in the history
  • Loading branch information
tauraamui committed Jul 28, 2024
1 parent 5331cd3 commit f7f423d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/cmd_args_test.v
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit f7f423d

Please sign in to comment.