Skip to content

Commit 848ed7e

Browse files
committed
add more test
1 parent 62ef761 commit 848ed7e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_jsoncsv.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ def test_jsoncsv_with_error_args(self):
5050
result = runner.invoke(jsoncsv, args=args)
5151
assert result.exit_code != 0
5252

53+
def test_jsoncsv_with_error_sep_args(self):
54+
runner = CliRunner()
55+
args = ['-s', '\\', '-e', 'fixture/files/raw.0.json',
56+
'fixture/files/tmp.expand.0.json']
57+
result = runner.invoke(jsoncsv, args=args)
58+
assert result.exit_code != 0
59+
5360
def test_jsoncsv_with_error_args_expand_and_restore(self):
5461
runner = CliRunner()
5562
args = ['-r', '-e', 'fixture/files/raw.0.json',

0 commit comments

Comments
 (0)