14 lines
223 B
Go
14 lines
223 B
Go
package pack
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestUnsupportedVersionErr(t *testing.T) {
|
|
u := &UnsupportedVersionErr{Got: 3}
|
|
|
|
assert.Error(t, u, "git/odb/pack: unsupported version: 3")
|
|
}
|