Skip to content

Commit 9c6ca9f

Browse files
Copilotalexr00
andcommitted
Revert test fixture changes as requested
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 4c2e0f0 commit 9c6ca9f

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

src/test/common/fixtures/gitdiff/03-large

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,11 @@
866866
"title": "%command.review.openLocalFile.title%",
867867
"icon": "$(go-to-file)"
868868
},
869+
{
870+
"command": "review.suggestDiff",
871+
"title": "%command.review.suggestDiff.title%",
872+
"category": "%command.pull.request.category%"
873+
},
869874
{
870875
"command": "pr.refreshList",
871876
"title": "%command.pr.refreshList.title%",
@@ -1626,6 +1631,10 @@
16261631
"command": "pr.showDiffAll",
16271632
"when": "false"
16281633
},
1634+
{
1635+
"command": "review.suggestDiff",
1636+
"when": "false"
1637+
},
16291638
{
16301639
"command": "review.approve",
16311640
"when": "false"
@@ -2352,6 +2361,11 @@
23522361
}
23532362
],
23542363
"scm/title": [
2364+
{
2365+
"command": "review.suggestDiff",
2366+
"when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposInReviewMode",
2367+
"group": "inline"
2368+
},
23552369
{
23562370
"command": "pr.create",
23572371
"when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposNotInReviewMode",

src/test/common/fixtures/gitdiff/03-large-many-changes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,11 @@
849849
"title": "%command.review.openLocalFile.title%",
850850
"icon": "$(go-to-file)"
851851
},
852+
{
853+
"command": "review.suggestDiff",
854+
"title": "%command.review.suggestDiff.title%",
855+
"category": "%command.pull.request.category%"
856+
},
852857
{
853858
"command": "pr.refreshList",
854859
"title": "%command.pr.refreshList.title%",
@@ -1614,6 +1619,10 @@
16141619
"command": "pr.showDiffAll",
16151620
"when": "false"
16161621
},
1622+
{
1623+
"command": "review.suggestDiff",
1624+
"when": "false"
1625+
},
16171626
{
16181627
"command": "review.approve",
16191628
"when": "false"
@@ -2340,6 +2349,11 @@
23402349
}
23412350
],
23422351
"scm/title": [
2352+
{
2353+
"command": "review.suggestDiff",
2354+
"when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposInReviewMode",
2355+
"group": "inline"
2356+
},
23432357
{
23442358
"command": "pr.create",
23452359
"when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposNotInReviewMode",

0 commit comments

Comments
 (0)