chore: Fix `TestNewFormRequest` by alexandear · Pull Request #4043 · google/go-github

@alexandear

  • Wrong format specifier %q for strings.Reader.
  • Wrong assert messages.
  • Missed error checks.

@alexandear

gmlewis

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gmlewis gmlewis changed the title chore: Fix TestNewFormRequest chore: Fix TestNewFormRequest

Feb 26, 2026

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.08%. Comparing base (5f68d54) to head (6289ba3).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4043   +/-   ##
=======================================
  Coverage   94.08%   94.08%           
=======================================
  Files         207      207           
  Lines       19217    19217           
=======================================
  Hits        18081    18081           
  Misses        938      938           
  Partials      198      198           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexandear alexandear deleted the chore/fix-test-new-form-request branch

February 26, 2026 22:39