Skip to content

fix unit test and perform small refactor on other errors#43

Open
peczenyj wants to merge 9 commits intoprebid:masterfrom
peczenyj:small-refactor-on-errors
Open

fix unit test and perform small refactor on other errors#43
peczenyj wants to merge 9 commits intoprebid:masterfrom
peczenyj:small-refactor-on-errors

Conversation

@peczenyj
Copy link
Copy Markdown

@peczenyj peczenyj commented Apr 21, 2025

  1. I note that one unit tests was failing
  2. since the min go version is 1.13 we can use %w to wrap error instead perform string interpolation with %s
  3. I fix one typo in one error message
  4. In one case I switch from fmt.Errorf to errors.New since the has a simple string message.

@peczenyj peczenyj changed the title Small refactor on errors fix unit test and perform small refactor on other errors Apr 22, 2025
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.

1 participant