Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

chore: add golden file tests for resources top #301

Merged
merged 3 commits into from
Mar 23, 2021

Conversation

cmoog
Copy link
Contributor

@cmoog cmoog commented Mar 23, 2021

Similar to what we do in tablewriter, we have tests that assert the output matches the .golden file.

When making intentional changes to the output, just pass the -write flag and it'll overwrite the golden file. Then of course be sure to verify that the new output looks appropriate.

@cmoog cmoog requested review from f0ssel and fuskovic March 23, 2021 18:32
@cmoog cmoog merged commit 60ac4a4 into master Mar 23, 2021
@cmoog cmoog deleted the cmoog/resource-top-tests branch March 23, 2021 22:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant