Simplify code
This commit is contained in:
parent
d9a139f1ea
commit
8a00e40402
@ -167,7 +167,7 @@ func TestSearch(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSearchError(t *testing.T) {
|
func TestSearchError(t *testing.T) {
|
||||||
var engines = []*TestEngine{
|
engines := []*TestEngine{
|
||||||
{errIn: ErrInInit},
|
{errIn: ErrInInit},
|
||||||
{errIn: ErrInTitle},
|
{errIn: ErrInTitle},
|
||||||
{errIn: ErrInLink},
|
{errIn: ErrInLink},
|
||||||
|
Loading…
Reference in New Issue
Block a user