15 lines
228 B
Go
15 lines
228 B
Go
|
package query
|
||
|
|
||
|
import (
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestErrors(t *testing.T) {
|
||
|
errors, err := Errors(1000, 0, "notexistingErrorString")
|
||
|
if err != nil {
|
||
|
t.Fatal(err)
|
||
|
}
|
||
|
assert.Empty(t, errors)
|
||
|
}
|