Skip to content

Commit

Permalink
tests(cli): Recreate AssertionError
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jun 8, 2024
1 parent 3e5ce5a commit 605bb4a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ class CommandLineTestFixture(t.NamedTuple):
argv_args=["g --help"],
expect_cmd="git --help",
),
CommandLineTestFixture(
test_id="g-cmd-inside-empty-dir",
env=EnvFlag.Empty,
argv_args=["g"],
expect_cmd="git",
),
CommandLineTestFixture(
test_id="g-cmd-help-inside-empty-dir",
env=EnvFlag.Empty,
argv_args=["g --help"],
expect_cmd="git --help",
),
]


Expand Down

0 comments on commit 605bb4a

Please sign in to comment.