fix(copilot): update test assertion to match updated error message

This commit is contained in:
copilot-swe-agent[bot] 2026-05-12 13:04:19 +00:00 committed by GitHub
parent ae7bd54d43
commit 24c7b25afd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -613,7 +613,7 @@ func TestRunCopilot_execFailureHint(t *testing.T) {
err := runCopilot(opts)
require.Error(t, err)
require.ErrorIs(t, err, execErr)
require.Contains(t, err.Error(), "Try running `copilot` directly without `gh`.")
require.Contains(t, err.Error(), "try running `copilot` directly without `gh`.")
}
func TestCopilotCommandIsSampledAt100(t *testing.T) {