mirror of
https://github.com/cubixle/codekata-golang.git
synced 2026-04-30 13:48:43 +01:00
20210110
This commit is contained in:
@@ -17,6 +17,11 @@ func Test_search(t *testing.T) {
|
|||||||
args{9, []int{-1, 0, 3, 5, 9, 12}},
|
args{9, []int{-1, 0, 3, 5, 9, 12}},
|
||||||
4,
|
4,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"test1",
|
||||||
|
args{2, []int{-1, 0, 3, 5, 9, 12}},
|
||||||
|
-1,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
for _, tt := range tests {
|
for _, tt := range tests {
|
||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user