Skip to content

Commit

Permalink
Remove unused if block.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo committed Jul 19, 2017
1 parent 2633edb commit cca2b3e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions google/resource_compute_instance_group_migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ func TestComputeInstanceGroupMigrateState(t *testing.T) {
}

for k, v := range tc.ExpectedAttributes {
if k == "id" {

}

if is.Attributes[k] != v {
t.Fatalf(
"bad: %s\n\n expected: %#v -> %#v\n got: %#v -> %#v\n in: %#v",
Expand Down Expand Up @@ -103,11 +99,19 @@ func TestComputeInstanceGroupMigrateState_empty(t *testing.T) {
if is != nil {
t.Fatalf("bad %s, expected nil instancestate, got: %#v", tn, is)
}
<<<<<<< Updated upstream

// should handle non-nil but empty
is = &terraform.InstanceState{}
is, err = resourceComputeInstanceGroupMigrateState(tc.StateVersion, is, meta)

=======

// should handle non-nil but empty
is = &terraform.InstanceState{}
is, err = resourceComputeInstanceGroupMigrateState(tc.StateVersion, is, meta)

>>>>>>> Stashed changes
if err != nil {
t.Fatalf("bad %s, err: %#v", tn, err)
}
Expand Down

0 comments on commit cca2b3e

Please sign in to comment.