about summary refs log tree commit diff
path: root/tests/run-coverage/loop_break_value.coverage
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-08-16 12:42:33 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-08-17 10:03:32 +1000
commitbfb16545a3bbb602756710000acac3ac8acd5186 (patch)
treefe9bf9c525d1d09cd0359e3790ee0f528bba17c2 /tests/run-coverage/loop_break_value.coverage
parent07438b0928c6691d6ee734a5a77823ec143be94d (diff)
downloadrust-bfb16545a3bbb602756710000acac3ac8acd5186.tar.gz
rust-bfb16545a3bbb602756710000acac3ac8acd5186.zip
coverage: Anonymize line numbers in `run-coverage` test snapshots
This makes the test snapshots less sensitive to lines being added/removed.
Diffstat (limited to 'tests/run-coverage/loop_break_value.coverage')
-rw-r--r--tests/run-coverage/loop_break_value.coverage26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/run-coverage/loop_break_value.coverage b/tests/run-coverage/loop_break_value.coverage
index 022fe4c5962..1f0630636dd 100644
--- a/tests/run-coverage/loop_break_value.coverage
+++ b/tests/run-coverage/loop_break_value.coverage
@@ -1,14 +1,14 @@
-    1|       |#![allow(unused_assignments, unused_variables)]
-    2|       |
-    3|      1|fn main() {
-    4|      1|    let result
-    5|      1|        =
-    6|      1|            loop
-    7|      1|        {
-    8|      1|            break
-    9|      1|            10
-   10|      1|            ;
-   11|      1|        }
-   12|      1|    ;
-   13|      1|}
+   LL|       |#![allow(unused_assignments, unused_variables)]
+   LL|       |
+   LL|      1|fn main() {
+   LL|      1|    let result
+   LL|      1|        =
+   LL|      1|            loop
+   LL|      1|        {
+   LL|      1|            break
+   LL|      1|            10
+   LL|      1|            ;
+   LL|      1|        }
+   LL|      1|    ;
+   LL|      1|}