1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-24 22:53:52 +02:00
Files
starter/git/git_test.go
2024-10-11 15:38:18 +03:00

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()
}