@@ -390,13 +390,13 @@ func TestSpec_PublicAPI_ExtractDomainFromURL(t *testing.T) {
390390// | PATTypeOAuth | "oauth" | gho_ |
391391// | PATTypeUnknown | "unknown" | (other) |
392392func TestSpec_Constants_PATType (t * testing.T ) {
393- assert .Equal (t , PATType ("fine-grained" ), PATTypeFineGrained ,
393+ assert .Equal (t , PATTypeFineGrained , PATType ("fine-grained" ),
394394 "PATTypeFineGrained should have documented value 'fine-grained'" )
395- assert .Equal (t , PATType ("classic" ), PATTypeClassic ,
395+ assert .Equal (t , PATTypeClassic , PATType ("classic" ),
396396 "PATTypeClassic should have documented value 'classic'" )
397- assert .Equal (t , PATType ("oauth" ), PATTypeOAuth ,
397+ assert .Equal (t , PATTypeOAuth , PATType ("oauth" ),
398398 "PATTypeOAuth should have documented value 'oauth'" )
399- assert .Equal (t , PATType ("unknown" ), PATTypeUnknown ,
399+ assert .Equal (t , PATTypeUnknown , PATType ("unknown" ),
400400 "PATTypeUnknown should have documented value 'unknown'" )
401401}
402402
0 commit comments