diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-11-27 02:52:28 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-11-27 02:52:28 +0900 |
| commit | 0dc4922fd188cfc3846be29fd2e2d777297e034c (patch) | |
| tree | 562b53638bdfc2f172854f9429adadbb4d960d27 /cmd/git-extract-issue/main_test.go | |
| parent | b61815b7499e7286e88d7de9fe667af08ab66f55 (diff) | |
| download | git-helpers-0dc4922fd188cfc3846be29fd2e2d777297e034c.tar.gz git-helpers-0dc4922fd188cfc3846be29fd2e2d777297e034c.tar.zst git-helpers-0dc4922fd188cfc3846be29fd2e2d777297e034c.zip | |
fix handling of number suffixv0.1.1
Diffstat (limited to 'cmd/git-extract-issue/main_test.go')
| -rw-r--r-- | cmd/git-extract-issue/main_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/git-extract-issue/main_test.go b/cmd/git-extract-issue/main_test.go index dbf88c5..02c0fe2 100644 --- a/cmd/git-extract-issue/main_test.go +++ b/cmd/git-extract-issue/main_test.go @@ -13,6 +13,7 @@ func TestExtractIssueNumberFromBranchName(t *testing.T) { {"feature prefix", "feature/123", "#123"}, {"feature prefix with suffix", "feature/123-suffix", "#123"}, + {"feature prefix with number suffix", "feature/123-2", "#123"}, {"project prefix", "feature/prefix-123", "prefix-123"}, {"project prefix with suffix", "feature/prefix-123-suffix", "prefix-123"}, |
