From 1dabdf0dcd5ab48bf706177da8ffeda89e323dc2 Mon Sep 17 00:00:00 2001 From: Katy Moe Date: Sun, 14 Nov 2021 21:51:53 +0000 Subject: [PATCH] normalise test names --- internal/configs/moved_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/configs/moved_test.go b/internal/configs/moved_test.go index 4e2666a27..433525d28 100644 --- a/internal/configs/moved_test.go +++ b/internal/configs/moved_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform/internal/addrs" ) -func TestDecodeMovedBlock(t *testing.T) { +func TestMovedBlock_decode(t *testing.T) { blockRange := hcl.Range{ Filename: "mock.tf", 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) mod, diags := parser.LoadConfigDir("testdata/valid-modules/moved-blocks") if diags.HasErrors() {