diff options
| author | 2025-11-16 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-16 00:00:00 +0000 | |
| commit | bad0f9715556a470d0de2a22c7040181e3a033ba (patch) | |
| tree | 21463072ce5bc85682a887ce0cae26d833941af3 /errors_test.go | |
| parent | EntryRecursive should return ErrNotFound instead of nil, nil (diff) | |
| signature | ||
Use actual git for tests and enhance Head
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") + } +} |
