chore: fix some function names (#1957)

Signed-off-by: dropbigfish <fillfish@foxmail.com>
This commit is contained in:
dropbigfish 2024-09-17 01:36:15 +08:00 committed by GitHub
parent becc3ec738
commit c068a70a9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ func (e *MoveEndpoint) MightUnifyWith(other *MoveEndpoint) bool {
return from != nil && to != nil return from != nil && to != nil
} }
// ConfigMovable transforms the receiver into a ConfigMovable by resolving it // ConfigMoveable transforms the receiver into a ConfigMovable by resolving it
// relative to the given base module, which should be the module where // relative to the given base module, which should be the module where
// the MoveEndpoint expression was found. // the MoveEndpoint expression was found.
// //

View File

@ -234,7 +234,7 @@ func TestKeepAlives(t *testing.T) {
} }
} }
// TestDeadConnection verifies that failed keepalive messages will eventually // TestFailedKeepAlives verifies that failed keepalive messages will eventually
// kill the connection. // kill the connection.
func TestFailedKeepAlives(t *testing.T) { func TestFailedKeepAlives(t *testing.T) {
ivl := keepAliveInterval ivl := keepAliveInterval

View File

@ -13,7 +13,7 @@ import (
"github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty"
) )
// TestNewModule_provider_fqns exercises module.gatherProviderLocalNames() // TestNewModule_provider_local_name exercises module.gatherProviderLocalNames()
func TestNewModule_provider_local_name(t *testing.T) { func TestNewModule_provider_local_name(t *testing.T) {
mod, diags := testModuleFromDir("testdata/providers-explicit-fqn") mod, diags := testModuleFromDir("testdata/providers-explicit-fqn")
if diags.HasErrors() { if diags.HasErrors() {