Skip to content

Commit 35f7fce

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
Fix ServiceList test: match uppercase header keys from format.Table
1 parent 6443a21 commit 35f7fce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/aidlcli_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ func TestAidlcli_ServiceList(t *testing.T) {
245245

246246
names := make([]string, 0, len(rows))
247247
for _, row := range rows {
248-
name, ok := row["Name"]
248+
name, ok := row["NAME"]
249249
require.True(t, ok, "row missing NAME field: %v", row)
250-
_, hasStatus := row["Status"]
250+
_, hasStatus := row["STATUS"]
251251
assert.True(t, hasStatus, "row missing STATUS field: %v", row)
252252
names = append(names, name)
253253
}

0 commit comments

Comments
 (0)