mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 19:24:03 +02:00
* feat: optimize version output Signed-off-by: yxxhero <aiopsclub@163.com> * Update docs/index.md Signed-off-by: yxxhero <aiopsclub@163.com> Signed-off-by: yxxhero <aiopsclub@163.com> Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
13 lines
219 B
Go
13 lines
219 B
Go
package version
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestVersion(t *testing.T) {
|
|
v := Version()
|
|
require.Equalf(t, "0.0.0-dev", v, "expected version to be %q, got %q", "0.0.0-dev", v)
|
|
}
|