diff options
author | Wolfy-J <[email protected]> | 2018-05-29 13:03:34 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-05-29 13:03:34 +0300 |
commit | b8bc792b263a3891e125757a35cc563bb85f1a0b (patch) | |
tree | f7a9e6f2568220491a26f6544e4acf0ed62012bb /errors_test.go | |
parent | 50f820833eeef8518b3b978b33c6f20391225162 (diff) |
nested observers
Diffstat (limited to 'errors_test.go')
-rw-r--r-- | errors_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/errors_test.go b/errors_test.go new file mode 100644 index 00000000..9b0fa53e --- /dev/null +++ b/errors_test.go @@ -0,0 +1,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()) +} |