Skip to content

Commit 72429b3

Browse files
committed
test(juicefs): remove redundant ControllerName assertion
Remove the duplicate assertion that tested against the unexported constant; use the string literal form only as suggested by code review. Signed-off-by: Harsh <harshmastic@gmail.com>
1 parent c1d5bb8 commit 72429b3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pkg/controllers/v1alpha1/juicefs/juicefsruntime_controller_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ var _ = Describe("JuiceFSRuntimeReconciler", func() {
3535
Describe("ControllerName", func() {
3636
It("should return the constant controller name", func() {
3737
r := &JuiceFSRuntimeReconciler{}
38-
Expect(r.ControllerName()).To(Equal(controllerName))
3938
Expect(r.ControllerName()).To(Equal("JuiceFSRuntimeController"))
4039
})
4140
})

0 commit comments

Comments
 (0)