Added comment.

pull/10886/head
Vishal Jain 2021-03-28 15:02:52 -07:00
parent b5651309ad
commit bdd4aa120b
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,8 @@ func createEqualError(value string) error {
func TestSet(t *testing.T) {
extraOptions := ExtraOptionSlice{}
// Examples which will error from checks from the Set function.
for _, tc := range []struct {
valuesToSet string
expErr error
@ -112,6 +114,7 @@ func TestSet(t *testing.T) {
}
}
// Examples which will not error from the Set function.
for _, tc := range []struct {
valuesToSet string
extraOption ExtraOptionSlice