mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-25 23:02:22 +02:00
сделал Find_LastTagVersion()
This commit is contained in:
15
git/git_test.go
Normal file
15
git/git_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package git
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestFind_LastTagVersion(t *testing.T) {
|
||||
|
||||
Otvet, err := Find_LastTagVersion()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
if Otvet == "" {
|
||||
t.Error("TestFind_LastTagVersion() error: Otvet =''")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user