| ... | @@ -14,7 +14,7 @@ describe("parsePullRequestReference", () => { | ... | @@ -14,7 +14,7 @@ describe("parsePullRequestReference", () => { |
| 14 | }); | 14 | }); |
| 15 | | 15 | |
| 16 | it("accepts #number references", () => { | 16 | it("accepts #number references", () => { |
| 17 | expect(parsePullRequestReference("#42")).toBe("#42"); | 17 | expect(parsePullRequestReference("#42")).toBe("42"); |
| 18 | }); | 18 | }); |
| 19 | | 19 | |
| 20 | it("accepts gh pr checkout commands with raw numbers", () => { | 20 | it("accepts gh pr checkout commands with raw numbers", () => { |
| ... | @@ -22,7 +22,7 @@ describe("parsePullRequestReference", () => { | ... | @@ -22,7 +22,7 @@ describe("parsePullRequestReference", () => { |
| 22 | }); | 22 | }); |
| 23 | | 23 | |
| 24 | it("accepts gh pr checkout commands with #number references", () => { | 24 | it("accepts gh pr checkout commands with #number references", () => { |
| 25 | expect(parsePullRequestReference("gh pr checkout #42")).toBe("#42"); | 25 | expect(parsePullRequestReference("gh pr checkout #42")).toBe("42"); |
| 26 | }); | 26 | }); |
| 27 | | 27 | |
| 28 | it("accepts gh pr checkout commands with GitHub pull request URLs", () => { | 28 | it("accepts gh pr checkout commands with GitHub pull request URLs", () => { |