diff --git a/tests/encryption_test.go b/tests/encryption_test.go index a6a787c..f072e23 100644 --- a/tests/encryption_test.go +++ b/tests/encryption_test.go @@ -154,7 +154,7 @@ kcrypt: ) secretOut, err := cmd.CombinedOutput() - Expect(err).ToNot(HaveOccurred(), secretOut) + Expect(err).ToNot(HaveOccurred(), string(secretOut)) Expect(string(secretOut)).To(MatchRegexp("tpm")) }) })