Skip to content

fix(test): replace testify with gomega in controller suite (#143) - #164

Open
MrBeldum wants to merge 1 commit into
opendefensecloud:mainfrom
MrBeldum:fix/swap-testify-gomega-143
Open

fix(test): replace testify with gomega in controller suite (#143)#164
MrBeldum wants to merge 1 commit into
opendefensecloud:mainfrom
MrBeldum:fix/swap-testify-gomega-143

Conversation

@MrBeldum

@MrBeldum MrBeldum commented Sep 4, 2026

Copy link
Copy Markdown

Summary

Replaces the only direct testify/require call in internal/controller/suite_test.go with a gomega NewWithT(t) assertion and drops github.com/stretchr/testify from go.mod.

Fixes #143

Test plan

  • go test ./internal/controller/ -c compiles
  • go.mod / go.sum no longer list testify

Remove the sole direct testify usage so testify can leave go.mod.
Matches the gomega-based assertion suggested in opendefensecloud#143.

Fixes opendefensecloud#143
@MrBeldum
MrBeldum requested a review from a team September 4, 2026 17:22
@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 2a80bfb1-571d-45b9-be32-955ff6b288d5


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swap testify for gomega standalone assertion

1 participant