Skip to content

Commit

Permalink
docs: fix syntax (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Nov 9, 2022
1 parent 5432154 commit 42d1d2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/examples/nginx.md
Expand Up @@ -62,7 +62,7 @@ func TestIntegrationNginxLatestReturn(t *testing.T) {
// Clean up the container after the test is complete
t.Cleanup(func() {
t.Log("terminating container")
if err := ctr.Terminate(ctx)); err != nil {
if err := nginxC.Terminate(ctx); err != nil {
t.Errorf("failed to terminate container: :%w", err)
}
})
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/pulsar.md
Expand Up @@ -74,7 +74,7 @@ func TestPulsar(t *testing.T) {
// Cleanup the container after the test is complete
t.Cleanup(func() {
t.Log("terminating container")
if err := ctr.Terminate(ctx)); err != nil {
if err := c.Terminate(ctx); err != nil {
t.Errorf("failed to terminate container: :%w", err)
}
})
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/redis.md
Expand Up @@ -67,7 +67,7 @@ func TestIntegrationSetGet(t *testing.T) {
// Clean up the container after the test is complete
t.Cleanup(func() {
t.Log("terminating container")
if err := redisContainer.Terminate(ctx)); err != nil {
if err := redisContainer.Terminate(ctx); err != nil {
t.Errorf("failed to terminate container: :%w", err)
}
})
Expand Down

0 comments on commit 42d1d2f

Please sign in to comment.