@@ -89,7 +89,7 @@ describe('PullRequestOverview', function () {
8989 await PullRequestOverviewPanel . createOrShow ( telemetry , EXTENSION_URI , pullRequestManager , identity , prModel ) ;
9090
9191 assert (
92- createWebviewPanel . calledWith ( sinonMatch . string , 'Pull Request #1000' , vscode . ViewColumn . One , {
92+ createWebviewPanel . calledWith ( sinonMatch . string , '#1000' , vscode . ViewColumn . One , {
9393 enableScripts : true ,
9494 retainContextWhenHidden : true ,
9595 localResourceRoots : [ vscode . Uri . joinPath ( EXTENSION_URI , 'dist' ) ] ,
@@ -130,7 +130,7 @@ describe('PullRequestOverview', function () {
130130 const panel0 = PullRequestOverviewPanel . findPanel ( identity0 . owner , identity0 . repo , identity0 . number ) ;
131131 assert . notStrictEqual ( panel0 , undefined ) ;
132132 assert . strictEqual ( createWebviewPanel . callCount , 1 ) ;
133- assert . strictEqual ( panel0 ! . getCurrentTitle ( ) , 'Pull Request #1000' ) ;
133+ assert . strictEqual ( panel0 ! . getCurrentTitle ( ) , '#1000 New feature ' ) ;
134134
135135 // Opening the same PR again should reuse the existing panel
136136 await PullRequestOverviewPanel . createOrShow ( telemetry , EXTENSION_URI , pullRequestManager , identity0 , prModel0 ) ;
@@ -185,8 +185,8 @@ describe('PullRequestOverview', function () {
185185 assert . notStrictEqual ( panel1 , undefined ) ;
186186 assert . notStrictEqual ( panel0 , panel1 ) ;
187187 assert . strictEqual ( createWebviewPanel . callCount , 2 ) ;
188- assert . strictEqual ( panel0 ! . getCurrentTitle ( ) , 'Pull Request #1000' ) ;
189- assert . strictEqual ( panel1 ! . getCurrentTitle ( ) , 'Pull Request #2000' ) ;
188+ assert . strictEqual ( panel0 ! . getCurrentTitle ( ) , '#1000 New feature ' ) ;
189+ assert . strictEqual ( panel1 ! . getCurrentTitle ( ) , '#2000 New feature ' ) ;
190190 } ) ;
191191 } ) ;
192192} ) ;
0 commit comments