shithub: furgit

ref: 0a0fa13928bcc136b45e289f86bebc6a300e5975
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")
	}
}