normalise test names
This commit is contained in:
parent
33bcc715a0
commit
1dabdf0dcd
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue