normalise test names

This commit is contained in:
Katy Moe 2021-11-14 21:51:53 +00:00
parent 33bcc715a0
commit 1dabdf0dcd
No known key found for this signature in database
GPG Key ID: 8C3780F6DCDDA885
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform/internal/addrs" "github.com/hashicorp/terraform/internal/addrs"
) )
func TestDecodeMovedBlock(t *testing.T) { func TestMovedBlock_decode(t *testing.T) {
blockRange := hcl.Range{ blockRange := hcl.Range{
Filename: "mock.tf", Filename: "mock.tf",
Start: hcl.Pos{Line: 3, Column: 12, Byte: 27}, Start: hcl.Pos{Line: 3, Column: 12, Byte: 27},
@ -169,7 +169,7 @@ func TestDecodeMovedBlock(t *testing.T) {
} }
} }
func TestMovedBlocksInModule(t *testing.T) { func TestMovedBlock_inModule(t *testing.T) {
parser := NewParser(nil) parser := NewParser(nil)
mod, diags := parser.LoadConfigDir("testdata/valid-modules/moved-blocks") mod, diags := parser.LoadConfigDir("testdata/valid-modules/moved-blocks")
if diags.HasErrors() { if diags.HasErrors() {