-
-
Notifications
You must be signed in to change notification settings - Fork 295
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 Cargo sdist generator to avoid rewriting local dependencies #1741
Conversation
✅ Deploy Preview for maturin-guide ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
93b5b78
to
e32493b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
72e2e95
to
a86d2be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great real world testing!
@@ -530,7 +529,7 @@ mod tests { | |||
.skip(5) | |||
.collect::<Vec<_>>() | |||
.join("\n"); | |||
let expected = indoc! {r#" | |||
let expected = expect![[r#" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the advantage of expect-test over assert_eq with indoc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expect-test can update the expected result automatically by re-run with UPDATE_EXPECT=1
, it's basically an inline snapshot testing tool.
TODO:
Closes #1442