blob: 29803f9720c9e35c6483b38d69d458f2f399decb (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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")
}
}
|