summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/hashicorp/hcl/hcl/printer/testdata/object_singleline.golden
blob: c3d9147026c2cc41d77fa7809e6af91ee2416d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
variable "foo" {}
variable "bar" {}
variable "baz" {}

variable "qux" {}

variable "foo" {
  foo = "bar"
}

variable "foo" {}

# lead comment
variable "bar" {}

variable "foo" {
  default = "bar"
}

variable "bar" {}

# Purposeful newline check below:

variable "foo" {}

variable "purposeful-newline" {}