about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2025-05-01 18:44:38 +0200
committerUrgau <urgau@numericable.fr>2025-05-22 20:12:50 +0200
commit041d95d4dca9f31c4abf6938bb5eb1d893917e5b (patch)
treebee8360cb2e286c1ecbc41d25c68a24f508042ee /tests/rustdoc-ui/doctest
parent9d9705f4c360df5d8c77876496b0c5594cbc7fa0 (diff)
downloadrust-041d95d4dca9f31c4abf6938bb5eb1d893917e5b.tar.gz
rust-041d95d4dca9f31c4abf6938bb5eb1d893917e5b.zip
Allow `#![doc(test(attr(..)))]` doctests to be again merged together
Diffstat (limited to 'tests/rustdoc-ui/doctest')
-rw-r--r--tests/rustdoc-ui/doctest/dead-code-module-2.stdout11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/rustdoc-ui/doctest/dead-code-module-2.stdout b/tests/rustdoc-ui/doctest/dead-code-module-2.stdout
index 36b8eaed22b..d44068dcbf5 100644
--- a/tests/rustdoc-ui/doctest/dead-code-module-2.stdout
+++ b/tests/rustdoc-ui/doctest/dead-code-module-2.stdout
@@ -1,8 +1,13 @@
 
-running 2 tests
-test $DIR/dead-code-module-2.rs - my_mod::f (line 16) - compile ... FAILED
+running 1 test
 test $DIR/dead-code-module-2.rs - g (line 24) - compile ... ok
 
+test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
+
+
+running 1 test
+test $DIR/dead-code-module-2.rs - my_mod::f (line 16) - compile ... FAILED
+
 failures:
 
 ---- $DIR/dead-code-module-2.rs - my_mod::f (line 16) stdout ----
@@ -26,5 +31,5 @@ Couldn't compile the test.
 failures:
     $DIR/dead-code-module-2.rs - my_mod::f (line 16)
 
-test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
+test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME