Errors should not start with caps
- https://github.com/dexidp/dex/pull/1264#discussion_r253264017 Signed-off-by: Sabith <sabithksme@gmail.com>
This commit is contained in:
		| @@ -76,7 +76,7 @@ func (c Config) Validate() error { | ||||
| 		} | ||||
| 	} | ||||
| 	if len(checkErrors) != 0 { | ||||
| 		return fmt.Errorf("Invalid Config:\n\t-\t%s", strings.Join(checkErrors, "\n\t-\t")) | ||||
| 		return fmt.Errorf("invalid Config:\n\t-\t%s", strings.Join(checkErrors, "\n\t-\t")) | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|   | ||||
| @@ -47,7 +47,7 @@ func TestInvalidConfiguration(t *testing.T) { | ||||
| 		t.Fatal("this configuration should be invalid") | ||||
| 	} | ||||
| 	got := err.Error() | ||||
| 	wanted := `Invalid Config: | ||||
| 	wanted := `invalid Config: | ||||
| 	-	no issuer specified in config file | ||||
| 	-	no storage supplied in config file | ||||
| 	-	must supply a HTTP/HTTPS  address to listen on` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user