Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests - internal/githubapi/errors #257

Merged
merged 5 commits into from
Dec 5, 2022

Conversation

nathannaveen
Copy link
Contributor

  • Unit tests for errors
  • Refactored errors

Signed-off-by: nathannaveen 42319948+nathannaveen@users.noreply.github.com

- Unit tests for errors
- Refactored errors

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
internal/githubapi/errors_test.go Outdated Show resolved Hide resolved
internal/githubapi/errors_test.go Outdated Show resolved Hide resolved
internal/githubapi/errors_test.go Show resolved Hide resolved
internal/githubapi/errors.go Show resolved Hide resolved
internal/githubapi/errors.go Show resolved Hide resolved
Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
@calebbrown calebbrown merged commit c6e4437 into ossf:main Dec 5, 2022
nathannaveen added a commit to nathannaveen/criticality_score that referenced this pull request Feb 9, 2023
* Unit tests - internal/githubapi/errors

- Unit tests for errors
- Refactored errors

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>

* Added License

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>

* Refactored based on code review

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>

* Added extra test case

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
Co-authored-by: Caleb Brown <calebbrown@google.com>
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.

None yet

2 participants