Files
node/version/version_test.go
T

21 lines
333 B
Go
Raw Normal View History

// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package version
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestSemanticString(t *testing.T) {
v := Semantic{
Major: 1,
Minor: 2,
Patch: 3,
}
require.Equal(t, "v1.2.3", v.String())
}