Debian Codegraph @

pack/errors_test.go

raw
1 package pack
2
3 import (
4 "testing"
5
6 "github.com/stretchr/testify/assert"
7 )
8
9 func TestUnsupportedVersionErr(t *testing.T) {
10 u := &UnsupportedVersionErr{Got: 3}
11
12 assert.Error(t, u, "gitobj/pack: unsupported version: 3")
13 }