about summary refs log tree commit diff
path: root/tests/coverage/branch/if.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/branch/if.coverage
parent996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a (diff)
downloadrust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.tar.gz
rust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.zip
coverage: Restrict empty-span expansion to only cover `{` and `}`
Diffstat (limited to 'tests/coverage/branch/if.coverage')
-rw-r--r--tests/coverage/branch/if.coverage4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/branch/if.coverage b/tests/coverage/branch/if.coverage
index 2a9a408b16a..3d107188ca6 100644
--- a/tests/coverage/branch/if.coverage
+++ b/tests/coverage/branch/if.coverage
@@ -30,7 +30,7 @@
   ------------------
    LL|      2|        say("not not a");
    LL|      2|    }
-                   ^1
+                  ^1
    LL|      3|    if !!!a {
   ------------------
   |  Branch (LL:8): [True: 1, False: 2]
@@ -54,7 +54,7 @@
   ------------------
    LL|      2|        say("not not (a as bool)");
    LL|      2|    }
-                   ^1
+                  ^1
    LL|      3|    if !!!(a as bool) {
   ------------------
   |  Branch (LL:8): [True: 1, False: 2]