Skip to content

Commit

Permalink
Update test case assert
Browse files Browse the repository at this point in the history
  • Loading branch information
andfoy committed Jul 28, 2017
1 parent 3a72257 commit b1e5cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spyder/widgets/tests/test_findinfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def expected_results():

def expected_case_unsensitive_results():
results = {'spam.txt': [(1, 10)],
'ham.erl': [(1, 0), (1, 10), (3, 0), (4, 0),
'ham.txt': [(1, 0), (1, 10), (3, 0), (4, 0),
(5, 4), (9, 0), (10, 0)]}
return results

Expand Down Expand Up @@ -127,7 +127,7 @@ def test_case_sensitive_search(qtbot):
blocker.wait()
matches = process_search_results(find_in_files.result_browser.data)
print(matches)
assert matches == {'ham.erl': [(9, 0)]}
assert matches == {'ham.txt': [(9, 0)]}


if __name__ == "__main__":
Expand Down

0 comments on commit b1e5cb5

Please sign in to comment.