Skip to content

Commit b32ba6d

Browse files
committed
add more test case for binary search
1 parent ad6ff5f commit b32ba6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/0704_binary_search/binary_search_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestSearch(t *testing.T) {
1515
},
1616
arg{
1717
nums: []int{-1, 0, 3, 5, 9, 12},
18-
target: 20,
18+
target: -3,
1919
},
2020
}
2121

0 commit comments

Comments
 (0)