From c9fea042096a5e28562b42fdc14cc1e5062e143d Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Tue, 17 Oct 2023 14:27:50 +0200 Subject: [PATCH] fix checks --- internal/api/attestationconfigapi/cli/main_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/api/attestationconfigapi/cli/main_test.go b/internal/api/attestationconfigapi/cli/main_test.go index 6e30600a97..c1c1f09358 100644 --- a/internal/api/attestationconfigapi/cli/main_test.go +++ b/internal/api/attestationconfigapi/cli/main_test.go @@ -1,3 +1,8 @@ +/* +Copyright (c) Edgeless Systems GmbH + +SPDX-License-Identifier: AGPL-3.0-only +*/ package main import ( @@ -20,7 +25,7 @@ func TestAllEqual(t *testing.T) { // Test case 3: Three input args where second and third element are different assert.False(t, allEqual( - verify.TCBVersion{Bootloader: 1, Microcode: 2, SNP: 3, TEE: 4}, + verify.TCBVersion{Bootloader: 2, Microcode: 2, SNP: 3, TEE: 4}, verify.TCBVersion{Bootloader: 2, Microcode: 2, SNP: 3, TEE: 4}, verify.TCBVersion{Bootloader: 2, Microcode: 3, SNP: 3, TEE: 4}, ), "Expected allEqual to return false for three input args with different second and third elements, but got true")