Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d330f21

Browse files
committedApr 8, 2025··
make struct field types explicit
1 parent f110129 commit d330f21

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎provider/parameter_test.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -689,13 +689,13 @@ data "coder_parameter" "region" {
689689
func TestValueValidatesType(t *testing.T) {
690690
t.Parallel()
691691
for _, tc := range []struct {
692-
Name string
693-
Type provider.OptionType
694-
Value string
695-
Regex,
696-
RegexError string
697-
Min,
698-
Max int
692+
Name string
693+
Type provider.OptionType
694+
Value string
695+
Regex string
696+
RegexError string
697+
Min int
698+
Max int
699699
MinDisabled, MaxDisabled bool
700700
Monotonic string
701701
Error *regexp.Regexp

0 commit comments

Comments
 (0)
Please sign in to comment.