0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-06-03 03:49:39 +02:00

fix invalid regex test

This commit is contained in:
Robert Kaussow 2024-02-07 22:25:26 +01:00
parent d10b305940
commit 880b0ee4a2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -913,7 +913,7 @@ func Test_prepareHeader(t *testing.T) {
},
{
"matching non-conventional with invalid regex",
"Merged PR (\\d+): (?<header>.*)",
"Merged PR (\\d+): (<header>.*)",
"Merged PR 123: something",
"",
true,