diff options
Diffstat (limited to 'errors_test.go')
| -rw-r--r-- | errors_test.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/errors_test.go b/errors_test.go new file mode 100644 index 00000000..29803f97 --- /dev/null +++ b/errors_test.go @@ -0,0 +1,17 @@ +package furgit + +import ( + "testing" +) + +func TestErrors(t *testing.T) { + if ErrInvalidObject == nil { + t.Error("ErrInvalidObject should not be nil") + } + if ErrInvalidRef == nil { + t.Error("ErrInvalidRef should not be nil") + } + if ErrNotFound == nil { + t.Error("ErrNotFound should not be nil") + } +} |
