Skip to content

Commit 4f3b414

Browse files
authored
Update README.md
1 parent a297dcf commit 4f3b414

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Fails validation if the attribute is null or unknown
3838

3939
```go
4040
{
41-
Validators: []tfsdk.AttributeValidator{
41+
Validators: []tfsdk.AttributeValidator{
4242
validation.Required()
4343
},
4444
}
@@ -74,13 +74,13 @@ Fails validation if the attribute's value's length is not within the specified b
7474
{
7575
Validators: []tfsdk.AttributeValidator{
7676
// lower limit
77-
validation.Lenght(5, -1),
77+
validation.Length(5, -1),
7878

7979
// upper limit
8080
validation.Length(-1, 10),
8181

8282
// lower and upper limit
83-
validation.length(5, 10),
83+
validation.Length(5, 10),
8484
},
8585
}
8686
```
@@ -263,4 +263,4 @@ provider "my_provider" {
263263
```
264264

265265
This can be used with the `acctest.JoinConfigs` func to bring together multiple reusable configuration blocks for
266-
different tests.
266+
different tests.

0 commit comments

Comments
 (0)