@@ -177,7 +177,7 @@ func TestStateShim(t *testing.T) {
177177 expected := & terraform.State {
178178 Version : 3 ,
179179 Modules : []* terraform.ModuleState {
180- & terraform. ModuleState {
180+ {
181181 Path : []string {"root" },
182182 Outputs : map [string ]* terraform.OutputState {
183183 "bar" : {
@@ -191,7 +191,7 @@ func TestStateShim(t *testing.T) {
191191 },
192192 },
193193 Resources : map [string ]* terraform.ResourceState {
194- "test_thing.baz" : & terraform. ResourceState {
194+ "test_thing.baz" : {
195195 Type : "test_thing" ,
196196 Provider : "provider.test" ,
197197 Primary : & terraform.InstanceState {
@@ -202,7 +202,7 @@ func TestStateShim(t *testing.T) {
202202 },
203203 },
204204 },
205- "test_thing.foo" : & terraform. ResourceState {
205+ "test_thing.foo" : {
206206 Type : "test_thing" ,
207207 Provider : "provider.test" ,
208208 Primary : & terraform.InstanceState {
@@ -219,10 +219,10 @@ func TestStateShim(t *testing.T) {
219219 },
220220 },
221221 },
222- & terraform. ModuleState {
222+ {
223223 Path : []string {"root" , "child" },
224224 Resources : map [string ]* terraform.ResourceState {
225- "test_thing.baz" : & terraform. ResourceState {
225+ "test_thing.baz" : {
226226 Type : "test_thing" ,
227227 Provider : "module.child.provider.test" ,
228228 Primary : & terraform.InstanceState {
@@ -243,7 +243,7 @@ func TestStateShim(t *testing.T) {
243243 },
244244 Dependencies : []string {"data.test_data_thing.foo" },
245245 },
246- "data.test_data_thing.foo" : & terraform. ResourceState {
246+ "data.test_data_thing.foo" : {
247247 Type : "test_data_thing" ,
248248 Provider : "module.child.provider.test" ,
249249 Primary : & terraform.InstanceState {
@@ -254,7 +254,7 @@ func TestStateShim(t *testing.T) {
254254 },
255255 },
256256 },
257- "test_thing.lots.0" : & terraform. ResourceState {
257+ "test_thing.lots.0" : {
258258 Type : "test_thing" ,
259259 Provider : "module.child.provider.test" ,
260260 Primary : & terraform.InstanceState {
@@ -265,7 +265,7 @@ func TestStateShim(t *testing.T) {
265265 },
266266 },
267267 },
268- "test_thing.lots.1" : & terraform. ResourceState {
268+ "test_thing.lots.1" : {
269269 Type : "test_thing" ,
270270 Provider : "module.child.provider.test" ,
271271 Primary : & terraform.InstanceState {
@@ -277,7 +277,7 @@ func TestStateShim(t *testing.T) {
277277 Tainted : true ,
278278 },
279279 },
280- "test_thing.single_count" : & terraform. ResourceState {
280+ "test_thing.single_count" : {
281281 Type : "test_thing" ,
282282 Provider : "module.child.provider.test" ,
283283 Primary : & terraform.InstanceState {
@@ -296,7 +296,7 @@ func TestStateShim(t *testing.T) {
296296 providers := map [string ]terraform.ResourceProvider {
297297 "test" : & schema.Provider {
298298 ResourcesMap : map [string ]* schema.Resource {
299- "test_thing" : & schema. Resource {
299+ "test_thing" : {
300300 Schema : map [string ]* schema.Schema {
301301 "id" : {Type : schema .TypeString , Computed : true },
302302 "fizzle" : {Type : schema .TypeString , Optional : true },
@@ -305,7 +305,7 @@ func TestStateShim(t *testing.T) {
305305 },
306306 },
307307 DataSourcesMap : map [string ]* schema.Resource {
308- "test_data_thing" : & schema. Resource {
308+ "test_data_thing" : {
309309 Schema : map [string ]* schema.Schema {
310310 "id" : {Type : schema .TypeString , Computed : true },
311311 "fuzzle" : {Type : schema .TypeString , Optional : true },
0 commit comments