Skip to content

Commit 425cd0f

Browse files
committed
test: Verify frontmatter unpretty behavior
1 parent 6b3ae3f commit 425cd0f

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

tests/ui/unpretty/frontmatter.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
---
3+
4+
//@ compile-flags: -Zunpretty=normal
5+
//@ check-pass
6+
7+
#![feature(frontmatter)]
8+
9+
fn main() {
10+
}

tests/ui/unpretty/frontmatter.stdout

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
//@ compile-flags: -Zunpretty=normal
3+
//@ check-pass
4+
5+
#![feature(frontmatter)]
6+
7+
fn main() {}

0 commit comments

Comments
 (0)