Skip to content

Commit 4c99c54

Browse files
authored
fix & simplify README test example
1 parent a30c843 commit 4c99c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@ So I created a few [config utilities](acctest/config.go) to assist with this.
260260
```go
261261
fieldMap := map[string]interface{}{
262262
"address": "http://example.com",
263-
"token": acctest.Literal("file(\"/location/on/disk/token\")"),
263+
"token": acctest.Literal(`file("/location/on/disk/token")`),
264264
"number_of_fish_in_the_sea": 3500000000000,
265265
}
266-
confHCL := acctest.CompileProviderConfig("my_provider", map[string]interface{}{})
266+
confHCL := acctest.CompileProviderConfig("my_provider", fieldMap)
267267
```
268268

269269
```hcl

0 commit comments

Comments
 (0)