You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/lang/functions_descriptions_test.go

20 lines
346 B

// Copyright IBM Corp. 2014, 2026
// SPDX-License-Identifier: BUSL-1.1
package lang
import (
"testing"
)
func TestFunctionDescriptions(t *testing.T) {
scope := &Scope{
ConsoleMode: true,
}
for name, fn := range scope.Functions() {
if fn.Description() == "" {
t.Errorf("missing DescriptionList entry for function %q", name)
}
}
}