mirror of
https://github.com/adammck/terraform-inventory
synced 2024-11-22 20:01:58 +01:00
14 lines
222 B
Go
14 lines
222 B
Go
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())
|
|
}
|