diff --git a/tests/test_cli.py b/tests/test_cli.py index c00fc99..a59c9dc 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -10,13 +10,13 @@ def test_gitmojis_cli_runs_as_entry_point(): - result = subprocess.run(["gitmojis"]) + result = subprocess.run(["gitmojis", "--version"]) assert result.returncode == 0 def test_gitmojis_cli_runs_as_python_script(): - result = subprocess.run([sys.executable, "-m", "gitmojis"]) + result = subprocess.run([sys.executable, "-m", "gitmojis", "--version"]) assert result.returncode == 0