We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5fff1 commit 90bcc07Copy full SHA for 90bcc07
test/t/test_truncate.py
@@ -1,11 +1,14 @@
1
import pytest
2
3
+from conftest import assert_bash_exec
4
5
class TestTruncate:
6
@pytest.mark.complete("truncate ")
7
def test_basic(self, completion):
8
assert completion
9
10
@pytest.mark.complete("truncate -", require_cmd=True)
- def test_options(self, completion):
11
+ def test_options(self, bash, completion):
12
+ dash_help_out = assert_bash_exec(bash, "truncate -h", want_output=True)
13
+ print("-h: ", dash_help_out)
14
0 commit comments