Skip to content

Commit 7fff114

Browse files
committed
Filter percentages out of tests/ui/stats/input-stats.rs output.
This will make future diffs to this file much easier to read.
1 parent c583fa6 commit 7fff114

File tree

2 files changed

+164
-160
lines changed

2 files changed

+164
-160
lines changed

tests/ui/stats/input-stats.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
//@ only-64bit
44
// layout randomization affects the hir stat output
55
//@ needs-deterministic-layouts
6+
//
7+
// Filter out the percentages because a change to a single count can affect
8+
// many or all percentages, which makes the diffs hard to read.
9+
//@ normalize-stderr: "\([0-9 ][0-9]\.[0-9]%\)" -> "(NN.N%)"
610

711
// Type layouts sometimes change. When that happens, until the next bootstrap
812
// bump occurs, stage1 and stage2 will give different outputs for this test.

0 commit comments

Comments
 (0)