@@ -29,6 +29,7 @@ test('guessComponentUpdateDetails()', () => {
2929 [ '[New openssh version] V_9_2_P1' , 'openssh' , '9.2.P1' ] ,
3030 [ '[New tig version] tig-2.5.8' , 'tig' , '2.5.8' ] ,
3131 [ '[New curl version] 7.87.0' , 'curl' , '7.87.0' ] ,
32+ [ '[New curl version] curl-8_1_1' , 'curl' , '8.1.1' ] ,
3233 [ '[New mintty version] 3.6.3' , 'mintty' , '3.6.3' ] ,
3334 [ '[New pcre2 version] PCRE2-10.42' , 'pcre2' , '10.42' ] ,
3435 [ '[New git-lfs version] v3.3.0' , 'mingw-w64-git-lfs' , '3.3.0' ] ,
@@ -86,4 +87,13 @@ http://www.gnutls.org/news.html#2023-02-10`
8687 type : 'feature' ,
8788 message : 'Comes with [Perl v5.36.1](http://search.cpan.org/dist/perl-5.36.1/pod/perldelta.pod).'
8889 } )
90+
91+ expect ( await guessReleaseNotes ( context , {
92+ labels : [ { name : 'component-update' } ] ,
93+ title : '[New curl version] curl-8_1_1' ,
94+ body : `\nhttps://github.com/curl/curl/releases/tag/curl-8_1_1`
95+ } ) ) . toEqual ( {
96+ type : 'feature' ,
97+ message : 'Comes with [cURL v8.1.1](https://curl.se/changes.html#8_1_1).'
98+ } )
8999} )
0 commit comments