From c82de1ea427a0044fc12ffd570fe79a50ac41097 Mon Sep 17 00:00:00 2001 From: Masayuki Morita Date: Wed, 11 Mar 2020 15:20:40 +0900 Subject: [PATCH] Fix a test of block rm for removing an empty newline --- README.md | 1 - cmd/block_test.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index b645186..9825a9a 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,6 @@ $ cat tmp/block.hcl | hcledit block rm resource.foo.baz resource "foo" "bar" { attr1 = "val1" } - ``` ## License diff --git a/cmd/block_test.go b/cmd/block_test.go index d5d0cf3..034bd42 100644 --- a/cmd/block_test.go +++ b/cmd/block_test.go @@ -237,8 +237,7 @@ data "aws_security_group" "fuga" { name: "simple", args: []string{"data.aws_security_group.hoge"}, ok: true, - want: ` -data "aws_security_group" "fuga" { + want: `data "aws_security_group" "fuga" { name = "fuga" } `,