]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/failed-doctest-output.rs
normalize test output so it can be run from repo root
[rust.git] / src / test / rustdoc-ui / failed-doctest-output.rs
index 21d3d94714abb998125e856ec8a9166bc379f078..62cda9cb86bcbef27d4a728048e6a3318ecb0343 100644 (file)
@@ -9,15 +9,19 @@
 // except according to those terms.
 
 // Issue #51162: A failed doctest was not printing its stdout/stderr
+// FIXME: if/when the output of the test harness can be tested on its own, this test should be
+// adapted to use that, and that normalize line can go away
 
 // compile-flags:--test
-// disable-ui-testing-normalization
+// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
 
+// doctest fails at runtime
 /// ```
 /// panic!("oh no");
 /// ```
 pub struct SomeStruct;
 
+// doctest fails at compile time
 /// ```
 /// no
 /// ```