diff options
Diffstat (limited to 'error_test.go')
-rw-r--r-- | error_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/error_test.go b/error_test.go index 197b2f0..afa7b27 100644 --- a/error_test.go +++ b/error_test.go @@ -30,5 +30,8 @@ func TestFailures(t *testing.T) { if err != ErrNotADB { t.Error("wrong error code for corrupted DB") } + if err.Error() == "" { + t.Error("wrong error string for corrupted DB") + } db.Close() } |