fix(rebrand): update forensics test regexes to new repo slug

The rebrand commit dff176bf updated the error-message strings in
tests/forensics.test.cjs to mention GSD-redux/get-shit-done-redux but
missed the actual regex literals being tested. Both regexes now match
the new slug, which is what the workflow file actually contains.

Fixes 2 test failures on tests/forensics.test.cjs:151 and :161.
This commit is contained in:
Tom Boucher
2026-05-22 09:28:36 -04:00
parent dff176bfd2
commit df41d500a4

View File

@@ -150,7 +150,7 @@ describe('forensics workflow', () => {
// contains the repo string.
assert.match(
content,
/gh issue create[\s\S]{0,250}--repo\s+gsd-build\/get-shit-done/,
/gh issue create[\s\S]{0,250}--repo\s+GSD-redux\/get-shit-done-redux/,
'gh issue create must use --repo GSD-redux/get-shit-done-redux to avoid submitting to the user\'s current project repo'
);
});
@@ -160,7 +160,7 @@ describe('forensics workflow', () => {
// Regex is more robust than a fixed-length slice to formatting changes
assert.match(
content,
/gh label list[\s\S]{0,250}--repo\s+gsd-build\/get-shit-done/,
/gh label list[\s\S]{0,250}--repo\s+GSD-redux\/get-shit-done-redux/,
'gh label list must target GSD-redux/get-shit-done-redux'
);
});