diff options
Diffstat (limited to 'error_test.go')
-rw-r--r-- | error_test.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/error_test.go b/error_test.go deleted file mode 100644 index 0306985..0000000 --- a/error_test.go +++ /dev/null @@ -1,12 +0,0 @@ -package bolt - -import ( - "github.com/stretchr/testify/assert" - "testing" -) - -// Ensure that nested errors are appropriately formatted. -func TestError(t *testing.T) { - e := &Error{"one error", &Error{"two error", nil}} - assert.Equal(t, e.Error(), "one error: two error") -} |