diff --git a/tests.py b/tests.py index 98a8e39d82fc1f1820788114d0a2458b56032c41..5a6a56a1b81cae64bee8544cba4f119bed73626d 100644 --- a/tests.py +++ b/tests.py @@ -36,7 +36,7 @@ def test_run_method(tmp_path): # ensure single string command works assert run(("ls -l"), shell=True).returncode == 0 # test spaces are handled correctly: - assert run(["touch", "file1 file2"]).returncode == 0 + assert run(["touch", "file1", "file2"]).returncode == 0 assert os.path.exists("file1") assert os.path.exists("file2") # test output is captured: