Skip to content

Include message on tests that should panic but do not - #64745

Merged
bors merged 1 commit into
rust-lang:masterfrom
kungfukennyg:should-panic-msg
Sep 28, 2019
Merged

Include message on tests that should panic but do not#64745
bors merged 1 commit into
rust-lang:masterfrom
kungfukennyg:should-panic-msg

Conversation

@kungfukennyg

@kungfukennygkungfukennyg commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

As per issue #60790 includes a message for tests marked #[should_panic] that do not panic as expected.

Fixes#60790.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 24, 2019
@Centril

Copy link
Copy Markdown
Contributor

r? @varkor

@varkor

Copy link
Copy Markdown
Contributor

@kennethbgoodin: thanks, this looks great! Could you squash your two commits to tidy up? Then I'll approve, thanks!

@bors

bors commented Sep 25, 2019

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #64663) made this pull request unmergeable. Please resolve the merge conflicts.

@kungfukennyg

Copy link
Copy Markdown
ContributorAuthor

Oops, I messed up during merging. Fixed that.

@varkor

Copy link
Copy Markdown
Contributor

@kennethbgoodin: thanks for the pull request!

@bors r+ rollup

@bors

bors commented Sep 26, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 821ff46 has been approved by varkor

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 27, 2019
…varkor
Include message on tests that should panic but do not
As per issue rust-lang#60790 includes a message for tests marked `#[should_panic]` that do not panic as expected.
Fixesrust-lang#60790.
@CentrilCentril mentioned this pull request Sep 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 27, 2019
…varkor
Include message on tests that should panic but do not
As per issue rust-lang#60790 includes a message for tests marked `#[should_panic]` that do not panic as expected.
Fixesrust-lang#60790.
@CentrilCentril mentioned this pull request Sep 27, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 28, 2019
…varkor
Include message on tests that should panic but do not
As per issue rust-lang#60790 includes a message for tests marked `#[should_panic]` that do not panic as expected.
Fixesrust-lang#60790.
@CentrilCentril mentioned this pull request Sep 28, 2019
bors added a commit that referenced this pull request Sep 28, 2019
Rollup of 14 pull requests
Successful merges:
- #63492 (Remove redundancy from the implementation of C variadics.)
- #64703 (Docs: slice elements are equidistant)
- #64745 (Include message on tests that should panic but do not)
- #64781 (Remove stray references to the old global tcx)
- #64794 (Remove unused DepTrackingMap)
- #64802 (Account for tail expressions when pointing at return type)
- #64809 (hir: Disallow `target_feature` on constants)
- #64815 (Fix div_duration() marked as stable by mistake)
- #64818 (update rtpSpawn's parameters type(It's prototype has been updated in libc))
- #64830 (Thou shallt not `.abort_if_errors()`)
- #64836 (Stabilize map_get_key_value feature)
- #64845 (pin.rs: fix links to primitives in documentation)
- #64847 (Upgrade env_logger to 0.7)
- #64851 (Add mailmap entry for Dustin Bensing by request)
Failed merges:
- #64824 (No StableHasherResult everywhere)
r? @ghost
Centril added a commit to Centril/rust that referenced this pull request Sep 28, 2019
…varkor
Include message on tests that should panic but do not
As per issue rust-lang#60790 includes a message for tests marked `#[should_panic]` that do not panic as expected.
Fixesrust-lang#60790.
@CentrilCentril mentioned this pull request Sep 28, 2019
bors added a commit that referenced this pull request Sep 28, 2019
Rollup of 14 pull requests
Successful merges:
- #64703 (Docs: slice elements are equidistant)
- #64745 (Include message on tests that should panic but do not)
- #64781 (Remove stray references to the old global tcx)
- #64794 (Remove unused DepTrackingMap)
- #64802 (Account for tail expressions when pointing at return type)
- #64809 (hir: Disallow `target_feature` on constants)
- #64815 (Fix div_duration() marked as stable by mistake)
- #64818 (update rtpSpawn's parameters type(It's prototype has been updated in libc))
- #64830 (Thou shallt not `.abort_if_errors()`)
- #64836 (Stabilize map_get_key_value feature)
- #64845 (pin.rs: fix links to primitives in documentation)
- #64847 (Upgrade env_logger to 0.7)
- #64851 (Add mailmap entry for Dustin Bensing by request)
- #64859 (check_match: improve diagnostics for `let A = 2;` with `const A: i32 = 3`)
Failed merges:
r? @ghost
@bors
bors merged commit 821ff46 into rust-lang:masterSep 28, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests with #[should_panic] should print a message on failure

6 participants

@kungfukennyg@rust-highfive@Centril@varkor@bors@Mark-Simulacrum