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

[2/n] [dropshot-endpoint] turn valid endpoint tests into snapshot tests #1010

Conversation

sunshowers
Copy link
Contributor

Use expectorate to manage these tests. It's much easier to see the outputs, and
to make changes to them, this way.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the base branch from main to sunshowers/spr/main.dropshot-endpoint-turn-valid-endpoint-tests-into-snapshot-tests May 16, 2024 03:36
@sunshowers sunshowers changed the base branch from sunshowers/spr/main.dropshot-endpoint-turn-valid-endpoint-tests-into-snapshot-tests to main May 16, 2024 03:36
Created using spr 1.3.6-beta.1
@sunshowers sunshowers changed the title [dropshot-endpoint] turn valid endpoint tests into snapshot tests [2/n] [dropshot-endpoint] turn valid endpoint tests into snapshot tests May 16, 2024
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@@ -465,82 +468,12 @@ mod tests {
},
)
.unwrap();
let expected = quote! {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code that predates expectorate! how quaint!

@sunshowers sunshowers merged commit 0560bed into main May 31, 2024
10 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/dropshot-endpoint-turn-valid-endpoint-tests-into-snapshot-tests branch May 31, 2024 23:28
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