style: 本批新代码 gofmt 对齐(config_test/agent_node)
This commit is contained in:
@@ -105,12 +105,12 @@ func TestCompareDisplayVersion(t *testing.T) {
|
||||
want int
|
||||
}{
|
||||
{"1.0.0", "1.0.0", 0},
|
||||
{"V1.0.0", "A1.0.0", 0}, // prefix letters are flavour, not value
|
||||
{"1.0.9", "1.1.0", -1}, // single-digit carry step
|
||||
{"1.1.0", "1.0.9", 1}, // carry compares numerically, not lexically
|
||||
{"1.9.9", "2.0.0", -1}, // full carry
|
||||
{"A1.0.1", "A1.0.0", 1}, // agent series
|
||||
{"V1.0.1", "1.0.0", 1}, // release tag vs current
|
||||
{"V1.0.0", "A1.0.0", 0}, // prefix letters are flavour, not value
|
||||
{"1.0.9", "1.1.0", -1}, // single-digit carry step
|
||||
{"1.1.0", "1.0.9", 1}, // carry compares numerically, not lexically
|
||||
{"1.9.9", "2.0.0", -1}, // full carry
|
||||
{"A1.0.1", "A1.0.0", 1}, // agent series
|
||||
{"V1.0.1", "1.0.0", 1}, // release tag vs current
|
||||
{"2.0.0", "1.9.9", 1},
|
||||
{"1.0.0", "1.0.1", -1},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user