You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/01/26 15:27:58 UTC

[camel-k] 02/03: fix(trait): error handler test

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit e960e36303a25a7a0deabc58c4e1633e5877256e
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Jan 26 11:24:07 2023 +0100

    fix(trait): error handler test
---
 pkg/trait/error_handler_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/trait/error_handler_test.go b/pkg/trait/error_handler_test.go
index b5827739a..4fbce93c2 100644
--- a/pkg/trait/error_handler_test.go
+++ b/pkg/trait/error_handler_test.go
@@ -66,7 +66,7 @@ func TestErrorHandlerApplySource(t *testing.T) {
 	err = trait.Apply(e)
 	assert.Nil(t, err)
 	assert.Equal(t, `- error-handler:
-    ref: defaultErrorHandler
+    ref-error-handler: defaultErrorHandler
 `, e.Integration.Status.GeneratedSources[0].Content)
 }