mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
cmd/version: display list of columns that can be enabled or removed
This commit is contained in:
@@ -29,7 +29,7 @@ func TestVersion(t *testing.T) {
|
||||
fmt.Sprintf(" Built with: %s", runtime.Version()),
|
||||
"",
|
||||
}
|
||||
got := strings.Split(buf.String(), "\n")
|
||||
got := strings.Split(buf.String(), "\n")[:len(want)]
|
||||
if diff := helpers.Diff(got, want); diff != "" {
|
||||
t.Errorf("`version` (-got, +want):\n%s", diff)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user