mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 03:36:33 +03:00
Fix indexes test
This commit is contained in:
parent
606227d308
commit
96f82201b5
@ -314,7 +314,7 @@ func testTableIndexes(t *testing.T) {
|
||||
res, err := testClient.TableIndexes("books")
|
||||
|
||||
assert.Equal(t, nil, err)
|
||||
assert.Equal(t, 2, len(res.Columns))
|
||||
assert.Equal(t, []string{"index_name", "index_size", "index_definition"}, res.Columns)
|
||||
assert.Equal(t, 2, len(res.Rows))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user