Skip to content

Commit

Permalink
Fix a test of block rm for removing an empty newline
Browse files Browse the repository at this point in the history
  • Loading branch information
minamijoyo committed Mar 11, 2020
1 parent b39740e commit c82de1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -180,7 +180,6 @@ $ cat tmp/block.hcl | hcledit block rm resource.foo.baz
resource "foo" "bar" {
attr1 = "val1"
}
```

## License
Expand Down
3 changes: 1 addition & 2 deletions cmd/block_test.go
Expand Up @@ -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"
}
`,
Expand Down

0 comments on commit c82de1e

Please sign in to comment.