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 b062be2a4ad3888a52bc11d611a566b400bd5a08 Author: Martin Olšiak <56640450+realmarti...@users.noreply.github.com> AuthorDate: Thu Apr 13 13:14:54 2023 +0200 chore: changed misleading comments in jvm Changed misleading comment for jvm/keystore_test Rephrased comment for jvm/keystore_test --- pkg/util/jvm/keystore_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/util/jvm/keystore_test.go b/pkg/util/jvm/keystore_test.go index 6e09a2b9d..1338f6260 100644 --- a/pkg/util/jvm/keystore_test.go +++ b/pkg/util/jvm/keystore_test.go @@ -28,13 +28,13 @@ import ( func TestGenerateKeystore(t *testing.T) { - // No Data + // Nil Data var data [][]byte ctx := context.Background() err := GenerateKeystore(ctx, "", "/tmp/keystore", NewKeystorePassword(), data) assert.Nil(t, err) - // Correct input + // Non-nil data data = [][]byte{{0}, {1}} err = GenerateKeystore(ctx, "", "/tmp/keystore", NewKeystorePassword(), data) assert.NotNil(t, err)