Skip to content

Commit 0803f62

Browse files
committed
bless bootstrap tests
Signed-off-by: onur-ozkan <[email protected]>
1 parent 4d5dab3 commit 0803f62

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
@@ -237,7 +237,7 @@ fn alias_and_path_for_library() {
237237
);
238238
assert_eq!(
239239
first(cache.all::<doc::Std>()),
240-
&[doc_std!(TEST_TRIPLE_1 => TEST_TRIPLE_1, stage = 0)]
240+
&[doc_std!(TEST_TRIPLE_1 => TEST_TRIPLE_1, stage = 1)]
241241
);
242242
}
243243

@@ -433,14 +433,14 @@ mod defaults {
433433
assert_eq!(first(cache.all::<doc::ErrorIndex>()), &[doc::ErrorIndex { target: a },]);
434434
assert_eq!(
435435
first(cache.all::<tool::ErrorIndex>()),
436-
&[tool::ErrorIndex { compiler: Compiler::new(0, a) }]
436+
&[tool::ErrorIndex { compiler: Compiler::new(1, a) }]
437437
);
438438
// docs should be built with the beta compiler, not with the stage0 artifacts.
439439
// recall that rustdoc is off-by-one: `stage` is the compiler rustdoc is _linked_ to,
440440
// not the one it was built by.
441441
assert_eq!(
442442
first(cache.all::<tool::Rustdoc>()),
443-
&[tool::Rustdoc { compiler: Compiler::new(0, a) },]
443+
&[tool::Rustdoc { compiler: Compiler::new(1, a) },]
444444
);
445445
}
446446
}

0 commit comments

Comments
 (0)