1
1
Fork 0
mirror of https://github.com/adammck/terraform-inventory synced 2024-05-24 21:26:03 +02:00
terraform-inventory/version_test.go

14 lines
222 B
Go
Raw Permalink Normal View History

2015-02-09 22:14:55 +01:00
package main
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestVersionInfo(t *testing.T) {
assert.Equal(t, "unknown", versionInfo())
build_version = "vXYZ"
assert.Equal(t, "vXYZ", versionInfo())
}