rust/tests/coverage/assert_not.coverage

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
424 B
Plaintext
Raw Permalink Normal View History

LL| |//@ edition: 2021
LL| |
LL| |// Regression test for <https://github.com/rust-lang/rust/issues/118904>.
LL| |// `assert!(true)` and `assert!(!false)` should have similar coverage spans.
LL| |
LL| 1|fn main() {
LL| 1| assert!(true);
LL| 1| assert!(!false);
LL| 1| assert!(!!true);
LL| 1| assert!(!!!false);
LL| 1|}