summaryrefslogtreecommitdiff
path: root/ext/errors_test.go
blob: 7c9d7a5b4079c65937a42f23d67bcc0e2a5fa683 (plain)
1
2
3
4
5
6
7
8
9
10
11
package ext

import (
	"github.com/stretchr/testify/assert"
	"testing"
)

func Test_JobError_Error(t *testing.T) {
	e := JobError([]byte("error"))
	assert.Equal(t, "error", e.Error())
}