shithub: furgit

ref: c7e4dc3bd9fcf4785b31122c968f209aece1a02e
dir: /errors_test.go/

View raw version
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")
	}
}