diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-26 18:41:45 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-26 18:41:45 +0100 |
commit | 7e012ae8b54705bc254154cdff3a503cce3299a7 (patch) | |
tree | c1105a002b0e866bbd397188841f46243b336b6d /crates/text_edit | |
parent | 3d6c4c143b4b4c74810318eca1b5493e43535fff (diff) | |
parent | 964219f0be87d189e13dd63a6ffc4d9d53eafbb4 (diff) |
Merge #5893
5893: Allow running a test as a binary r=matklad a=jonas-schievink
If a test uses `harness = false`, it just contains an `fn main` that is executed via `cargo test`. This adds support for that.
Note though that Cargo doesn't actually tell us whether `harness = false`, so this hint will always show up when you put an `fn main` into an integration test. Normally people shouldn't be doing that if they do use the harness though.
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/text_edit')
0 files changed, 0 insertions, 0 deletions