about summary refs log tree commit diff
path: root/tests/rustdoc-ui/remap-path-prefix-passed-doctest-output.rs
blob: 6fa04ef77f32b003412bdd507268dd536de21a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ check-pass
//@ check-run-results

// 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 -Z unstable-options --remap-path-prefix={{src-base}}=remapped_path --test-args --test-threads=1
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"

// doctest passes at runtime
/// ```
/// assert!(true);
/// ```
pub struct SomeStruct;