Skip to content

Commit 46a2350

Browse files
tweak ListNamespaces assert
1 parent c8f475c commit 46a2350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pinecone/index_connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func (ts *IntegrationTests) TestListNamespaces() {
481481
})
482482
require.NoError(ts.T(), err)
483483
require.NotNil(ts.T(), namespaces, "ListNamespaces response should not be nil")
484-
require.Equal(ts.T(), limit, uint32(len(namespaces.Namespaces)), "ListNamespaces should return the remaining namespaces")
484+
require.Equal(ts.T(), remainingLength, uint32(len(namespaces.Namespaces)), "ListNamespaces should return the limit specified")
485485
}
486486

487487
func (ts *IntegrationTests) TestDeleteNamespace() {

0 commit comments

Comments
 (0)