File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ func Test_isValidErrorTypeName_invalidTypes(t *testing.T) {
175
175
"errZIP" ,
176
176
"nestedErr" ,
177
177
"withStackErr" ,
178
+ "withStackERR" ,
179
+ "withStackERROR" ,
178
180
} {
179
181
if isValidErrorTypeName (tt ) {
180
182
t .Errorf ("%q must be invalid error type name" , tt )
@@ -545,6 +547,8 @@ func Test_isValidErrorVarName_validVars(t *testing.T) {
545
547
func Test_isValidErrorVarName_invalidVars (t * testing.T ) {
546
548
for _ , tt := range []string {
547
549
"Canceled" ,
550
+ "ERRORExec" ,
551
+ "ERRExec" ,
548
552
"ErrExecErr" ,
549
553
"ErrorExec" ,
550
554
"IncorrectPasswordError" ,
@@ -569,6 +573,8 @@ func Test_isValidErrorVarName_invalidVars(t *testing.T) {
569
573
"testError" ,
570
574
"timeoutProtoErr" ,
571
575
"viewCloseError" ,
576
+ "viewERR" ,
577
+ "viewERROR" ,
572
578
"viewError" ,
573
579
} {
574
580
if isValidErrorVarName (tt ) {
You can’t perform that action at this time.
0 commit comments