mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Add test
This commit is contained in:
12
releasing/releasing/releasing_test.go
Normal file
12
releasing/releasing/releasing_test.go
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestGetModuleCurrentVersion(t *testing.T) {
|
||||||
|
output := getModuleCurrentVersion("test")
|
||||||
|
if output != "v1.0.0" {
|
||||||
|
t.Errorf("Unexpected output: %s", output)
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user