Skip to content

Commit

Permalink
tweak testing strings
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-denoble committed Apr 30, 2024
1 parent 24516a6 commit ef05157
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pinecone/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (ts *ClientTests) TestNewClientParamsSet() {
ts.FailNow(fmt.Sprintf("Expected client to have empty sourceTag, but got '%s'", client.sourceTag))
}
if client.headers != nil {
ts.FailNow(fmt.Sprintf("Expected client to have nil headers, but got '%v'", client.headers))
ts.FailNow(fmt.Sprintf("Expected client headers to be nil, but got '%v'", client.headers))
}
if len(client.restClient.RequestEditors) != 2 {
ts.FailNow("Expected client to have '%v' request editors, but got '%v'", 2, len(client.restClient.RequestEditors))
Expand Down
2 changes: 1 addition & 1 deletion pinecone/index_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (ts *IndexConnectionTests) TestNewIndexConnection() {
ts.FailNow(fmt.Sprintf("Expected idxConn to have empty namespace, but got '%s'", idxConn.Namespace))
}
if idxConn.additionalMetadata != nil {
ts.FailNow(fmt.Sprintf("Expected idxConn to have nil additionalMetadata, but got '%+v'", idxConn.additionalMetadata))
ts.FailNow(fmt.Sprintf("Expected idxConn additionalMetadata to be nil, but got '%+v'", idxConn.additionalMetadata))
}
if idxConn.dataClient == nil {
ts.FailNow("Expected idxConn to have non-nil dataClient")
Expand Down

0 comments on commit ef05157

Please sign in to comment.