Skip to content

test(cmd): fix non-consistent arg for t.Errorf#33

Merged
macrat merged 1 commit intomainfrom
macrat-patch-1
Sep 8, 2025
Merged

test(cmd): fix non-consistent arg for t.Errorf#33
macrat merged 1 commit intomainfrom
macrat-patch-1

Conversation

@macrat
Copy link
Copy Markdown
Owner

@macrat macrat commented Sep 8, 2025

No description provided.

Copilot AI review requested due to automatic review settings September 8, 2025 12:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an inconsistent argument format in a test function by adding a format specifier to a t.Errorf call.

  • Adds a format string "%s" to t.Errorf to properly format the diff output

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.89%. Comparing base (b026ea7) to head (c2efaef).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage   87.89%   87.89%           
=======================================
  Files          74       74           
  Lines        6466     6466           
=======================================
  Hits         5683     5683           
  Misses        644      644           
  Partials      139      139           

☔ 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.

@macrat macrat merged commit 661589b into main Sep 8, 2025
8 of 9 checks passed
@macrat macrat deleted the macrat-patch-1 branch September 8, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants