Simplify code

This commit is contained in:
Elara 2021-12-10 09:52:36 -08:00
parent d9a139f1ea
commit 8a00e40402

View File

@ -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},