Skip to content

Commit aa453b7

Browse files
committed
reverse logic for target_dir
1 parent a04de5a commit aa453b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,5 +212,5 @@ def test_copy_examples_bad(bad_inputs, expected, path, example_cases):
212212
copy_examples(
213213
examples_dict,
214214
user_input=bad_inputs,
215-
target_dir=case_dir / path if path else None,
215+
target_dir=case_dir / path if path is not None else None,
216216
)

0 commit comments

Comments
 (0)