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

refactor: cleanup, mostly tests #120

Merged
merged 1 commit into from
Mar 27, 2024
Merged

refactor: cleanup, mostly tests #120

merged 1 commit into from
Mar 27, 2024

Conversation

yitsushi
Copy link
Owner

In preparation for more work, related to #112, #37 and #8.

  • Migrated all tests to use testify's Suite instead of direct assert calls.
  • Simplified how the credentials file location is determined, now it's defined in one simple function.

Changes I may revert: I hate string concatenation, it's just ugly in my eyes, so I may just add that linter to disabled and revert to Sprintf. I know it's more efficient, but not on this scale.

Closes #8

References:

In preparation for more work, related to #112, #37 and #8.

- Migrated all tests to use testify's `Suite` instead of direct `assert`
  calls.
- Simplified how the credentials file location is determined, now it's
  defined in one simple function.

Changes I may revert: I hate string concatenation, it's just ugly in my
eyes, so I may just add that linter to disabled and revert to `Sprintf`. I
know it's more efficient, but not on this scale.

Closes #8

References:
- #8
- #37
- #112
@yitsushi yitsushi merged commit b26f567 into main Mar 27, 2024
10 checks passed
@yitsushi yitsushi deleted the some-cleanup branch March 27, 2024 16:50
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.

Write Storage tests
1 participant