Skip to content

Commit

Permalink
pubsublite: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Nov 9, 2023
1 parent a34a94a commit c9e5930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsublite/topiccreator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func TestTopicCreatorCreateTopics(t *testing.T) {
err = creator.CreateTopics(context.Background(), "topic_name")
require.Error(t, err)
assert.EqualError(t, err,
`failed to create pubsublite topic "topic_name": rpc error: code = PermissionDenied desc = nope`,
`failed to create pubsublite topic "topic_name": cannot create pubsublite topic: rpc error: code = PermissionDenied desc = nope`,
)

assert.Equal(t, []observer.LoggedEntry{{
Expand Down

0 comments on commit c9e5930

Please sign in to comment.