shithub: furgit

ref: 5ce52142bf5ef4a7c845018000b537f01c8bbcca
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")
	}
}