btcd icon indicating copy to clipboard operation
btcd copied to clipboard

Testcases: Fix an obvious typo / bug

Open litecomb opened this issue 3 months ago • 0 comments

This is a compile time error on newer compilers, caused testcases to fail

Change Description

The issue was that help.go testcase was failing to compile. Whoever wrote this didn't intend to utilize the first arg w as format string, as evidenced by the else branch.

Steps to Test

go test ./...

Pull Request Checklist

Testing

  • [x] Your PR passes all CI checks.
  • [x] Tests covering the positive and negative (error paths) are included.
  • [x] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

📝 Please see our Contribution Guidelines for further guidance.

litecomb avatar Sep 29 '25 19:09 litecomb