diff options
Diffstat (limited to 'ext/errors_test.go')
-rw-r--r-- | ext/errors_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/errors_test.go b/ext/errors_test.go new file mode 100644 index 00000000..7c9d7a5b --- /dev/null +++ b/ext/errors_test.go @@ -0,0 +1,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()) +} |