From 9391f1a30a12d973e44147adc359985e8c1dc764 Mon Sep 17 00:00:00 2001 From: as-iotex <82106612+as-iotex@users.noreply.github.com> Date: Sat, 1 Jul 2023 12:07:00 +0100 Subject: [PATCH] should fail test --- tests/test_psa_cipher_update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_psa_cipher_update.cpp b/tests/test_psa_cipher_update.cpp index 23d5751..6c70e9e 100644 --- a/tests/test_psa_cipher_update.cpp +++ b/tests/test_psa_cipher_update.cpp @@ -52,7 +52,7 @@ TEST_F(PsaCipherUpdate, NullOutputArgument) size_t output_length = 0; psa_status_t status = psa_cipher_update(&operation, input, sizeof(input), NULL, 16, &output_length); - EXPECT_EQ(status, PSA_ERROR_INVALID_ARGUMENT); + EXPECT_EQ(status, PSA_SUCCESS); } TEST_F(PsaCipherUpdate, NullOutputLengthArgument)