MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / TestVersionToLong

Function TestVersionToLong

internal/utils/version_test.go:10–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestVersionToLong(t *testing.T) {
11 for _, v := range []string{
12 "",
13 "a",
14 "1",
15 "1.2",
16 "1.2.1",
17 "1.2.1.4",
18 "1.2.3.4.5",
19 } {
20 t.Log(v, "=>", utils.VersionToLong(v))
21 }
22}

Callers

nothing calls this directly

Calls 2

VersionToLongFunction · 0.92
LogMethod · 0.80

Tested by

no test coverage detected