Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f6f081c

Browse files
committed
bless bootstrap tests
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent accbfc0 commit f6f081c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fn alias_and_path_for_library() {
234234
);
235235
assert_eq!(
236236
first(cache.all::<doc::Std>()),
237-
&[doc_std!(TEST_TRIPLE_1 => TEST_TRIPLE_1, stage = 0)]
237+
&[doc_std!(TEST_TRIPLE_1 => TEST_TRIPLE_1, stage = 1)]
238238
);
239239
}
240240

@@ -392,14 +392,14 @@ mod defaults {
392392
assert_eq!(first(cache.all::<doc::ErrorIndex>()), &[doc::ErrorIndex { target: a },]);
393393
assert_eq!(
394394
first(cache.all::<tool::ErrorIndex>()),
395-
&[tool::ErrorIndex { compiler: Compiler::new(0, a) }]
395+
&[tool::ErrorIndex { compiler: Compiler::new(1, a) }]
396396
);
397397
// docs should be built with the beta compiler, not with the stage0 artifacts.
398398
// recall that rustdoc is off-by-one: `stage` is the compiler rustdoc is _linked_ to,
399399
// not the one it was built by.
400400
assert_eq!(
401401
first(cache.all::<tool::Rustdoc>()),
402-
&[tool::Rustdoc { compiler: Compiler::new(0, a) },]
402+
&[tool::Rustdoc { compiler: Compiler::new(1, a) },]
403403
);
404404
}
405405
}

0 commit comments

Comments
 (0)