Skip to content

Commit 3aa58c6

Browse files
committed
Add snapshot test for tier-check
1 parent 16ad385 commit 3aa58c6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/bootstrap/src/core/builder/tests.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,6 +1853,19 @@ mod snapshot {
18531853
");
18541854
}
18551855

1856+
#[test]
1857+
fn test_tier_check() {
1858+
let ctx = TestCtx::new();
1859+
insta::assert_snapshot!(
1860+
ctx.config("test")
1861+
.path("tier-check")
1862+
.render_steps(), @r"
1863+
[build] llvm <host>
1864+
[build] rustc 0 <host> -> rustc 1 <host>
1865+
[build] rustc 1 <host> -> std 1 <host>
1866+
");
1867+
}
1868+
18561869
#[test]
18571870
fn doc_all() {
18581871
let ctx = TestCtx::new();

0 commit comments

Comments
 (0)