Skip to content

Allow users to turn off in-place update for specific Expects - #22

Closed
ecstatic-morse wants to merge 1 commit into
rust-analyzer:masterfrom
ecstatic-morse:bless-opt
Closed

Allow users to turn off in-place update for specific Expects#22
ecstatic-morse wants to merge 1 commit into
rust-analyzer:masterfrom
ecstatic-morse:bless-opt

Conversation

@ecstatic-morse

Copy link
Copy Markdown
Contributor

rust-lang/chalk#744 relies on this for now to avoid sweeping changes to the existing test! macro. If this feature isn't desirable, I can change the approach, but it seems generally useful.

@ecstatic-morse

Copy link
Copy Markdown
Contributor Author

Ended up not using this in rust-lang/chalk#744. It might still be nice to have, though. If not, feel free to close this.

@matklad

matklad commented Dec 25, 2021

Copy link
Copy Markdown
Contributor

Yeah, I think this could be useful, but one of the general design guidelines for expect-test is to do as little as possible, so let's wait until this has a significant use-case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants