about summary refs log tree commit diff
path: root/tests/coverage/while_early_ret.cov-map
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-01-16 13:40:01 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-01-16 15:56:37 +1100
commitf1494425bbb68e71f2bf3aa215fb71978b36acf2 (patch)
tree4676a1d861e10d24c2d7938046b7e7a28d6f5cda /tests/coverage/while_early_ret.cov-map
parent714b29a17ff5fa727c794bbb60bfd335f8e75d42 (diff)
coverage: Add `#[rustfmt::skip]` to tests with non-standard formatting
These tests deliberately use non-standard formatting, so that the line
execution counts reported by `llvm-cov` reveal additional information about
where code regions begin and end.
Diffstat (limited to 'tests/coverage/while_early_ret.cov-map')
-rw-r--r--tests/coverage/while_early_ret.cov-map4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/while_early_ret.cov-map b/tests/coverage/while_early_ret.cov-map
index 369ebe891f1..c883eb4baf2 100644
--- a/tests/coverage/while_early_ret.cov-map
+++ b/tests/coverage/while_early_ret.cov-map
@@ -1,5 +1,5 @@
 Function name: while_early_ret::main
-Raw bytes (61): 0x[01, 01, 06, 01, 05, 03, 09, 0e, 05, 03, 09, 17, 09, 0d, 11, 09, 01, 04, 01, 01, 1b, 03, 03, 09, 02, 0a, 0e, 05, 0d, 02, 0e, 0a, 06, 15, 02, 16, 0d, 04, 15, 00, 1b, 11, 04, 15, 00, 1b, 05, 03, 0a, 03, 0a, 09, 06, 05, 00, 0b, 13, 01, 01, 00, 02]
+Raw bytes (61): 0x[01, 01, 06, 01, 05, 03, 09, 0e, 05, 03, 09, 17, 09, 0d, 11, 09, 01, 05, 01, 01, 1b, 03, 03, 09, 02, 0a, 0e, 05, 0d, 02, 0e, 0a, 06, 15, 02, 16, 0d, 04, 15, 00, 1b, 11, 04, 15, 00, 1b, 05, 03, 0a, 03, 0a, 09, 06, 05, 00, 0b, 13, 01, 01, 00, 02]
 Number of files: 1
 - file 0 => global file 1
 Number of expressions: 6
@@ -10,7 +10,7 @@ Number of expressions: 6
 - expression 4 operands: lhs = Expression(5, Add), rhs = Counter(2)
 - expression 5 operands: lhs = Counter(3), rhs = Counter(4)
 Number of file 0 mappings: 9
-- Code(Counter(0)) at (prev + 4, 1) to (start + 1, 27)
+- Code(Counter(0)) at (prev + 5, 1) to (start + 1, 27)
 - Code(Expression(0, Add)) at (prev + 3, 9) to (start + 2, 10)
     = (c0 + c1)
 - Code(Expression(3, Sub)) at (prev + 5, 13) to (start + 2, 14)