diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-04-03 23:27:31 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-04-03 23:27:31 -0700 |
commit | d0aba7f632a9f117fc10c03970e08c12b828a77a (patch) | |
tree | 2590749bd98c8bb67bdf0a220a3883d9481f1c36 | |
parent | f53681f4a99a043e7c9c372eb622f5395fd2f009 (diff) | |
download | isort-d0aba7f632a9f117fc10c03970e08c12b828a77a.tar.gz |
Add correctly failing test case for issue
-rw-r--r-- | test_isort.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test_isort.py b/test_isort.py index 44775c14..7c42e84c 100644 --- a/test_isort.py +++ b/test_isort.py @@ -2978,3 +2978,5 @@ def test_failing_file_check_916(): 'multi_line_output': 3, 'lines_after_imports': 2} assert SortImports(file_contents=test_input, **settings).output == expected_output + assert SortImports(file_contents=expected_output, **settings).output == expected_output + assert not SortImports(file_contents=expected_output, check=True, **settings).incorrectly_sorted |