diff --git a/pkg/integration/tests/branch/detached_head.go b/pkg/integration/tests/branch/detached_head.go index 9a419540b..06f77a15c 100644 --- a/pkg/integration/tests/branch/detached_head.go +++ b/pkg/integration/tests/branch/detached_head.go @@ -25,7 +25,10 @@ var DetachedHead = NewIntegrationTest(NewIntegrationTestArgs{ Press(keys.Universal.New) t.ExpectPopup().Prompt(). - Title(MatchesRegexp(`^New branch name \(branch is off of '[0-9a-f]+'\)$`)). + /* EXPECTED: + Title(MatchesRegexp(`^New branch name \(branch is off of '[0-9a-f]{7} commit-09'\)$`)). + ACTUAL: */ + Title(MatchesRegexp(`^New branch name \(branch is off of '[0-9a-f]{40}'\)$`)). Type("new-branch"). Confirm()