github.com/opentofu/opentofu@v1.7.1/internal/encryption/method/aesgcm/descriptor_test.go (about)

     1  package aesgcm_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/opentofu/opentofu/internal/encryption/method/aesgcm"
     7  )
     8  
     9  func TestDescriptor(t *testing.T) {
    10  	if id := aesgcm.New().ID(); id != "aes_gcm" {
    11  		t.Fatalf("Incorrect descriptor ID returned: %s", id)
    12  	}
    13  }