about summary refs log tree commit diff
path: root/tests/coverage/abort.coverage
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-11-05 21:59:10 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-11-08 20:43:08 +1100
commit3c30fe3423b1e7d92584436493bd8fa6f17e13d0 (patch)
treea8a90f923fb2cfef11e531817a9c85a79b669055 /tests/coverage/abort.coverage
parent996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a (diff)
downloadrust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.tar.gz
rust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.zip
coverage: Restrict empty-span expansion to only cover `{` and `}`
Diffstat (limited to 'tests/coverage/abort.coverage')
-rw-r--r--tests/coverage/abort.coverage4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/abort.coverage b/tests/coverage/abort.coverage
index 29e3ad5eda7..be3dadab487 100644
--- a/tests/coverage/abort.coverage
+++ b/tests/coverage/abort.coverage
@@ -18,12 +18,12 @@
    LL|      6|        }
    LL|       |        // See discussion (below the `Notes` section) on coverage results for the closing brace.
    LL|     10|        if countdown < 5 { might_abort(false); } // Counts for different regions on one line.
-                                       ^4                     ^6
+                                       ^4                    ^6
    LL|       |        // For the following example, the closing brace is the last character on the line.
    LL|       |        // This shows the character after the closing brace is highlighted, even if that next
    LL|       |        // character is a newline.
    LL|     10|        if countdown < 5 { might_abort(false); }
-                                       ^4                     ^6
+                                       ^4                    ^6
    LL|     10|        countdown -= 1;
    LL|       |    }
    LL|      1|    Ok(())