mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-24 22:53:52 +02:00
20 lines
309 B
Go
20 lines
309 B
Go
package git
|
|
|
|
import "testing"
|
|
|
|
func TestFind_LastTagVersion(t *testing.T) {
|
|
|
|
Otvet, err := Find_LastCommitVersion()
|
|
if err != nil {
|
|
t.Error(err)
|
|
}
|
|
|
|
if Otvet == "" {
|
|
t.Error("TestFind_LastTagVersion() error: Otvet =''")
|
|
}
|
|
}
|
|
|
|
func TestShow_LastCommitVersion(t *testing.T) {
|
|
Show_LastCommitVersion()
|
|
}
|