summaryrefslogtreecommitdiffstats
path: root/tests/coverage/assert_not.coverage
blob: 4cfdab974ed4c242dda6abcf54f7ede14d9876e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
   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|}