Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crd-watch: Add test suite #653

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions internal/crd-watch/crd_watch_suite_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package crd_watch_test

import (
"testing"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

func TestCrdWatch(t *testing.T) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing!
Can you move this function to crd-watch_test.go, because there is only one test file in the folder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/close

ACK will do, I'll likely fix this within #604 now, was just worried at the time that there might be other examples in the codebase but I think we are okay. Closing this out.

RegisterFailHandler(Fail)
RunSpecs(t, "CrdWatch Suite")
}