Add snapshot test for tier-check

This commit is contained in:
Jakub Beránek 2025-08-08 11:53:25 +02:00
parent 846e377215
commit a3ef8178d2
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -2116,6 +2116,19 @@ mod snapshot {
");
}
#[test]
fn test_tier_check() {
let ctx = TestCtx::new();
insta::assert_snapshot!(
ctx.config("test")
.path("tier-check")
.render_steps(), @r"
[build] llvm <host>
[build] rustc 0 <host> -> rustc 1 <host>
[build] rustc 1 <host> -> std 1 <host>
");
}
#[test]
fn doc_all() {
let ctx = TestCtx::new();