@@ -13,11 +13,12 @@ package sumologic
1313
1414import (
1515 "fmt"
16- "github.com/hashicorp/terraform/helper/resource"
17- "github.com/hashicorp/terraform/terraform"
1816 "strconv"
1917 "strings"
2018 "testing"
19+
20+ "github.com/hashicorp/terraform/helper/resource"
21+ "github.com/hashicorp/terraform/terraform"
2122)
2223
2324func TestAccFieldExtractionRuleCreate (t * testing.T ) {
@@ -27,7 +28,7 @@ func TestAccFieldExtractionRuleCreate(t *testing.T) {
2728 testParseExpression := FieldsMap ["FieldExtractionRule" ]["parseExpression" ]
2829 testEnabled , _ := strconv .ParseBool (FieldsMap ["FieldExtractionRule" ]["enabled" ])
2930 resource .Test (t , resource.TestCase {
30- PreCheck : func () { TestAccPreCheck (t ) },
31+ PreCheck : func () { testAccPreCheck (t ) },
3132 Providers : testAccProviders ,
3233 CheckDestroy : testAccCheckFieldExtractionRuleDestroy (fieldextractionrule ),
3334 Steps : []resource.TestStep {
@@ -100,7 +101,7 @@ func TestAccFieldExtractionRuleUpdate(t *testing.T) {
100101 testUpdatedEnabled , _ := strconv .ParseBool (FieldsMap ["FieldExtractionRule" ]["updatedEnabled" ])
101102
102103 resource .Test (t , resource.TestCase {
103- PreCheck : func () { TestAccPreCheck (t ) },
104+ PreCheck : func () { testAccPreCheck (t ) },
104105 Providers : testAccProviders ,
105106 CheckDestroy : testAccCheckFieldExtractionRuleDestroy (fieldextractionrule ),
106107 Steps : []resource.TestStep {
0 commit comments