Fast implementation of Git in pure Go
1package furgit
2
3import (
4 "testing"
5)
6
7func TestErrors(t *testing.T) {
8 if ErrInvalidObject == nil {
9 t.Error("ErrInvalidObject should not be nil")
10 }
11 if ErrInvalidRef == nil {
12 t.Error("ErrInvalidRef should not be nil")
13 }
14 if ErrNotFound == nil {
15 t.Error("ErrNotFound should not be nil")
16 }
17}