@@ -463,7 +463,7 @@ func TestRegExp_ShortLinkPattern(t *testing.T) {
463
463
464
464
func TestRegExp_AnySHA1Pattern (t * testing.T ) {
465
465
testCases := map [string ][]string {
466
- "https://github.com/jquery/jquery/blob/a644101ed04d0beacea864ce805e0c4f86ba1cd1/test/unit/event.js#L2703" : [] string {
466
+ "https://github.com/jquery/jquery/blob/a644101ed04d0beacea864ce805e0c4f86ba1cd1/test/unit/event.js#L2703" : {
467
467
"https" ,
468
468
"github.com" ,
469
469
"jquery" ,
@@ -473,7 +473,7 @@ func TestRegExp_AnySHA1Pattern(t *testing.T) {
473
473
"test/unit/event.js" ,
474
474
"L2703" ,
475
475
},
476
- "https://github.com/jquery/jquery/blob/a644101ed04d0beacea864ce805e0c4f86ba1cd1/test/unit/event.js" : [] string {
476
+ "https://github.com/jquery/jquery/blob/a644101ed04d0beacea864ce805e0c4f86ba1cd1/test/unit/event.js" : {
477
477
"https" ,
478
478
"github.com" ,
479
479
"jquery" ,
@@ -483,7 +483,7 @@ func TestRegExp_AnySHA1Pattern(t *testing.T) {
483
483
"test/unit/event.js" ,
484
484
"" ,
485
485
},
486
- "https://github.com/jquery/jquery/commit/0705be475092aede1eddae01319ec931fb9c65fc" : [] string {
486
+ "https://github.com/jquery/jquery/commit/0705be475092aede1eddae01319ec931fb9c65fc" : {
487
487
"https" ,
488
488
"github.com" ,
489
489
"jquery" ,
@@ -493,7 +493,7 @@ func TestRegExp_AnySHA1Pattern(t *testing.T) {
493
493
"" ,
494
494
"" ,
495
495
},
496
- "https://github.com/jquery/jquery/tree/0705be475092aede1eddae01319ec931fb9c65fc/src" : [] string {
496
+ "https://github.com/jquery/jquery/tree/0705be475092aede1eddae01319ec931fb9c65fc/src" : {
497
497
"https" ,
498
498
"github.com" ,
499
499
"jquery" ,
@@ -503,7 +503,7 @@ func TestRegExp_AnySHA1Pattern(t *testing.T) {
503
503
"src" ,
504
504
"" ,
505
505
},
506
- "https://try.gogs.io/gogs/gogs/commit/d8a994ef243349f321568f9e36d5c3f444b99cae#diff-2" : [] string {
506
+ "https://try.gogs.io/gogs/gogs/commit/d8a994ef243349f321568f9e36d5c3f444b99cae#diff-2" : {
507
507
"https" ,
508
508
"try.gogs.io" ,
509
509
"gogs" ,
@@ -522,35 +522,35 @@ func TestRegExp_AnySHA1Pattern(t *testing.T) {
522
522
523
523
func TestRegExp_IssueFullPattern (t * testing.T ) {
524
524
testCases := map [string ][]string {
525
- "https://github.com/gogits/gogs/pull/3244" : [] string {
525
+ "https://github.com/gogits/gogs/pull/3244" : {
526
526
"https" ,
527
527
"github.com/gogits/gogs/pull/" ,
528
528
"3244" ,
529
529
"" ,
530
530
"" ,
531
531
},
532
- "https://github.com/gogits/gogs/issues/3247#issuecomment-231517079" : [] string {
532
+ "https://github.com/gogits/gogs/issues/3247#issuecomment-231517079" : {
533
533
"https" ,
534
534
"github.com/gogits/gogs/issues/" ,
535
535
"3247" ,
536
536
"#issuecomment-231517079" ,
537
537
"" ,
538
538
},
539
- "https://try.gogs.io/gogs/gogs/issues/4#issue-685" : [] string {
539
+ "https://try.gogs.io/gogs/gogs/issues/4#issue-685" : {
540
540
"https" ,
541
541
"try.gogs.io/gogs/gogs/issues/" ,
542
542
"4" ,
543
543
"#issue-685" ,
544
544
"" ,
545
545
},
546
- "https://youtrack.jetbrains.com/issue/JT-36485" : [] string {
546
+ "https://youtrack.jetbrains.com/issue/JT-36485" : {
547
547
"https" ,
548
548
"youtrack.jetbrains.com/issue/" ,
549
549
"JT-36485" ,
550
550
"" ,
551
551
"" ,
552
552
},
553
- "https://youtrack.jetbrains.com/issue/JT-36485#comment=27-1508676" : [] string {
553
+ "https://youtrack.jetbrains.com/issue/JT-36485#comment=27-1508676" : {
554
554
"https" ,
555
555
"youtrack.jetbrains.com/issue/" ,
556
556
"JT-36485" ,
0 commit comments