Skip to content

Commit e0e9505

Browse files
author
IanDoarn
committed
Updated test_searching.py to coincide with return changes in binary_search.py
Signed-off-by: IanDoarn <[email protected]>
1 parent aef627f commit e0e9505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_searching.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_binary_search(self):
3838
self.assertIs(alpha_result, 5)
3939

4040
alpha_result = binary_search.search(self.array, 'n')
41-
self.assertIs(alpha_result, -1)
41+
self.assertIs(alpha_result, False)
4242

4343

4444
class TestBFSSearch(unittest.TestCase):

0 commit comments

Comments
 (0)