Skip to content

Commit 90bcc07

Browse files
committed
DEBUG: show output of truncate
1 parent 8f5fff1 commit 90bcc07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/t/test_truncate.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import pytest
22

3+
from conftest import assert_bash_exec
34

45
class TestTruncate:
56
@pytest.mark.complete("truncate ")
67
def test_basic(self, completion):
78
assert completion
89

910
@pytest.mark.complete("truncate -", require_cmd=True)
10-
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)
1114
assert completion

0 commit comments

Comments
 (0)