14 lines
210 B
Go
14 lines
210 B
Go
|
package gomod
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestGetTag(t *testing.T) {
|
||
|
value, err := getCommitID("https://github.com/spf13/cobra")
|
||
|
assert.NoError(t, err)
|
||
|
t.Log(value)
|
||
|
}
|