Disable merged doctests by default
This commit is contained in:
parent
0bd2c99ce8
commit
112e44740e
@ -772,7 +772,7 @@ struct CreateRunnableDoctests {
|
||||
|
||||
impl CreateRunnableDoctests {
|
||||
fn new(rustdoc_options: RustdocOptions, opts: GlobalTestOptions) -> CreateRunnableDoctests {
|
||||
let can_merge_doctests = true; //rustdoc_options.edition >= Edition::Edition2024;
|
||||
let can_merge_doctests = rustdoc_options.edition >= Edition::Edition2024;
|
||||
CreateRunnableDoctests {
|
||||
standalone_tests: Vec::new(),
|
||||
mergeable_tests: FxHashMap::default(),
|
||||
|
@ -5,7 +5,6 @@ test $DIR/failed-doctest-should-panic.rs - Foo (line 9) - should panic ... FAILE
|
||||
failures:
|
||||
|
||||
---- $DIR/failed-doctest-should-panic.rs - Foo (line 9) stdout ----
|
||||
Hello, world!
|
||||
note: test did not panic as expected
|
||||
|
||||
failures:
|
||||
|
Loading…
x
Reference in New Issue
Block a user