diff options
author | Wolfy-J <[email protected]> | 2018-06-05 22:48:27 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-05 22:48:27 +0300 |
commit | 6adaf713b47c9a3ab3a516e21d2d4ecf7f2075d6 (patch) | |
tree | 6bcf1bfea1e2f87a3ae7065612c0df43c90c1cdc /ext/errors_test.go | |
parent | 3112f9b58c73773cea972fd79f04d33f8f7d7edd (diff) |
breaking the tests
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()) +} |