Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
  • Loading branch information
inteon committed Apr 24, 2023
1 parent 547e840 commit eee72c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/source/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ var _ = Describe("Source", func() {
It("when Start is called twice", func() {
instance := source.Kind(ic, &corev1.Pod{})
Expect(instance.Start(ctx, nil, nil)).To(Succeed())
Expect(instance.Start(ctx, nil, nil)).To(MatchError("cannot start an already started source"))
Expect(instance.Start(ctx, nil, nil)).To(MatchError("cannot start an already started Kind source"))
})

It("when Stop is called twice", func() {
Expand Down

0 comments on commit eee72c3

Please sign in to comment.