Skip to content

Commit eb44ef5

Browse files
authored
Merge pull request #529 from SumoLogic/vishal-refactor-monitor-resource
Refactor monitor resource and some other code
2 parents a074737 + d7d2c45 commit eb44ef5

File tree

5 files changed

+392
-362
lines changed

5 files changed

+392
-362
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.17
44

55
require (
66
github.com/go-errors/errors v1.4.0
7+
github.com/google/go-cmp v0.5.6
78
github.com/hashicorp/go-retryablehttp v0.7.0
89
github.com/hashicorp/terraform-plugin-sdk v1.17.2
910
github.com/stretchr/testify v1.7.0
@@ -28,7 +29,6 @@ require (
2829
github.com/go-test/deep v1.0.7 // indirect
2930
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
3031
github.com/golang/protobuf v1.5.2 // indirect
31-
github.com/google/go-cmp v0.5.6 // indirect
3232
github.com/google/uuid v1.1.2 // indirect
3333
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
3434
github.com/hashicorp/errwrap v1.0.0 // indirect

sumologic/data_source_sumologic_folder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func TestAccDataSourceFolder_folder_does_not_exist(t *testing.T) {
3131
{
3232
Config: folderConfig("/Library/Users/[email protected]/doesNotExist"),
3333
ExpectError: regexp.MustCompile(
34-
"folder with path '/Library/Users/dgould\\[email protected]/doesNotExist' does not exist"),
34+
`folder with path '/Library/Users/dgould\[email protected]/doesNotExist' does not exist`),
3535
},
3636
},
3737
})

0 commit comments

Comments
 (0)