mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-25 01:23:22 +01:00
efbb5acf63
* moved wiretrustee version from main to system.info * added wiretrustee version for all supported platforms * typo corrected * refactor: use single WiretrusteeVersion() func to get version of the client Co-authored-by: braginini <bangvalo@gmail.com>
14 lines
207 B
Go
14 lines
207 B
Go
package system
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func Test_LocalVersion(t *testing.T) {
|
|
got := GetInfo()
|
|
want := "development"
|
|
assert.Equal(t, want, got.WiretrusteeVersion)
|
|
}
|