about summary refs log tree commit diff
path: root/tests/coverage/if.cov-map
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/if.cov-map
parent996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a (diff)
downloadrust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.tar.gz
rust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.zip
coverage: Restrict empty-span expansion to only cover `{` and `}`
Diffstat (limited to 'tests/coverage/if.cov-map')
-rw-r--r--tests/coverage/if.cov-map4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/if.cov-map b/tests/coverage/if.cov-map
index 8f12afac027..a77ba8194a4 100644
--- a/tests/coverage/if.cov-map
+++ b/tests/coverage/if.cov-map
@@ -1,5 +1,5 @@
 Function name: if::main
-Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 04, 01, 12, 10, 05, 13, 05, 05, 06, 02, 05, 06, 00, 07, 01, 01, 01, 00, 02]
+Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 04, 01, 12, 10, 05, 13, 05, 05, 06, 02, 05, 05, 00, 06, 01, 01, 01, 00, 02]
 Number of files: 1
 - file 0 => global file 1
 Number of expressions: 1
@@ -7,7 +7,7 @@ Number of expressions: 1
 Number of file 0 mappings: 4
 - Code(Counter(0)) at (prev + 4, 1) to (start + 18, 16)
 - Code(Counter(1)) at (prev + 19, 5) to (start + 5, 6)
-- Code(Expression(0, Sub)) at (prev + 5, 6) to (start + 0, 7)
+- Code(Expression(0, Sub)) at (prev + 5, 5) to (start + 0, 6)
     = (c0 - c1)
 - Code(Counter(0)) at (prev + 1, 1) to (start + 0, 2)
 Highest counter ID seen: c1