opentofu/internal/encryption/method/aesgcm/descriptor_test.go
Oleksandr Levchenkov 5a161c8bcc
add automated copyright header check (#1696)
Signed-off-by: ollevche <ollevche@gmail.com>
Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-06-03 16:49:36 +03:00

19 lines
403 B
Go

// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2023 HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package aesgcm_test
import (
"testing"
"github.com/opentofu/opentofu/internal/encryption/method/aesgcm"
)
func TestDescriptor(t *testing.T) {
if id := aesgcm.New().ID(); id != "aes_gcm" {
t.Fatalf("Incorrect descriptor ID returned: %s", id)
}
}