about summary refs log tree commit diff
path: root/tests/coverage/if_else.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/if_else.cov-map
parent714b29a17ff5fa727c794bbb60bfd335f8e75d42 (diff)
downloadrust-f1494425bbb68e71f2bf3aa215fb71978b36acf2.tar.gz
rust-f1494425bbb68e71f2bf3aa215fb71978b36acf2.zip
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/if_else.cov-map')
-rw-r--r--tests/coverage/if_else.cov-map4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/if_else.cov-map b/tests/coverage/if_else.cov-map
index da692ca3aa2..7163681d3a0 100644
--- a/tests/coverage/if_else.cov-map
+++ b/tests/coverage/if_else.cov-map
@@ -1,5 +1,5 @@
 Function name: if_else::main
-Raw bytes (53): 0x[01, 01, 07, 01, 05, 05, 02, 1b, 09, 05, 02, 09, 16, 1b, 09, 05, 02, 07, 01, 03, 01, 08, 10, 05, 09, 05, 05, 06, 02, 08, 09, 02, 10, 1b, 06, 09, 00, 10, 09, 01, 05, 05, 06, 16, 07, 05, 05, 06, 13, 06, 01, 00, 02]
+Raw bytes (53): 0x[01, 01, 07, 01, 05, 05, 02, 1b, 09, 05, 02, 09, 16, 1b, 09, 05, 02, 07, 01, 04, 01, 08, 10, 05, 09, 05, 05, 06, 02, 08, 09, 02, 10, 1b, 06, 09, 00, 10, 09, 01, 05, 05, 06, 16, 07, 05, 05, 06, 13, 06, 01, 00, 02]
 Number of files: 1
 - file 0 => global file 1
 Number of expressions: 7
@@ -11,7 +11,7 @@ Number of expressions: 7
 - expression 5 operands: lhs = Expression(6, Add), rhs = Counter(2)
 - expression 6 operands: lhs = Counter(1), rhs = Expression(0, Sub)
 Number of file 0 mappings: 7
-- Code(Counter(0)) at (prev + 3, 1) to (start + 8, 16)
+- Code(Counter(0)) at (prev + 4, 1) to (start + 8, 16)
 - Code(Counter(1)) at (prev + 9, 5) to (start + 5, 6)
 - Code(Expression(0, Sub)) at (prev + 8, 9) to (start + 2, 16)
     = (c0 - c1)