bug: breaking test "TestReadEnv" via refactoring #18

Closed
opened 2021-07-31 20:07:50 +00:00 by roxxers · 3 comments

5771f6c158/config/env.go (L217)

@decentral1se Broke the tests in this commit by not using a refactoring tool. Found it amusing because we talked about not breaking tests and code on main lol. Will fix but there is like no way to just code review a commit?

https://git.coopcloud.tech/coop-cloud/go-abra/src/commit/5771f6c158ece015ace12569c640cd9a6c263b10/config/env.go#L217 @decentral1se Broke the tests in this commit by not using a refactoring tool. Found it amusing because we talked about not breaking tests and code on main lol. Will fix but there is like no way to just code review a commit?
Author

To be clear, exporting this function breaks the test since it was calling it before as an unexported function

To be clear, exporting this function breaks the test since it was calling it before as an unexported function
Author

Fixed in f958b888b6

Fixed in f958b888b60e89bed9e70dc76a6fd4d7c5b6e89c
Owner

That's a lot of noise for a single character fix @roxxers. Just message me directly next time instead? I didn't have time to explain fully on that call but what I meant was that we should at the minimum make sure each commit compiles (I wasn't talking about tests).

That's a lot of noise for a single character fix @roxxers. Just message me directly next time instead? I didn't have time to explain fully on that call but what I meant was that we should at the minimum make sure each commit compiles (I wasn't talking about tests).
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#18
No description provided.