Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
elesiuta committed Mar 15, 2024
1 parent e3cc03b commit 39df50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_dryrun(self):
cmd = "echo hello world | python pyxargs.py -m stdin --dry-run echo out {}"
with os.popen(cmd) as result:
result = result.readlines()
self.assertEqual(result, ['echo out hello\n', 'echo out world\n'])
self.assertEqual(result, ["['echo', 'out', 'hello']\n", "['echo', 'out', 'world']\n"])

def test_read_items_file(self):
cmd = "python pyxargs.py -a test.txt echo out {}"
Expand Down

0 comments on commit 39df50c

Please sign in to comment.