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

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

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