Skip to content

Commit a4a7bb9

Browse files
committed
Make pretty-expanded-hygiene a ui test
`normalize-stdout-test` removes the need for Make, and it can be updated with `--bless` this way
1 parent 03178f3 commit a4a7bb9

File tree

3 files changed

+12
-21
lines changed

3 files changed

+12
-21
lines changed

src/test/run-make-fulldeps/pretty-expanded-hygiene/Makefile

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/test/run-make-fulldeps/pretty-expanded-hygiene/input.rs renamed to src/test/ui/hygiene/unpretty-debug.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// check-pass
2+
// compile-flags: -Zunpretty=expanded,hygiene
3+
4+
// Don't break whenever Symbol numbering changes
5+
// normalize-stdout-test "\d+#" -> "0#"
6+
17
// minimal junk
28
#![feature(no_core)]
39
#![no_core]

src/test/run-make-fulldeps/pretty-expanded-hygiene/input.pp.rs renamed to src/test/ui/hygiene/unpretty-debug.stdout

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// check-pass
2+
// compile-flags: -Zunpretty=expanded,hygiene
3+
4+
// Don't break whenever Symbol numbering changes
5+
// normalize-stdout-test "\d+#" -> "0#"
6+
17
// minimal junk
28
#![feature /* 0#0 */(no_core)]
39
#![no_core /* 0#0 */]

0 commit comments

Comments
 (0)