diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 12:10:29 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 16:04:04 +0000 |
| commit | 6e48b96692d63a79a14563f27fe5185f122434f8 (patch) | |
| tree | 171bd5869f5d38c5b2b5d8e6dae91884cde9a173 /tests/rustdoc-ui/doctest/doctest-output.rs | |
| parent | cbf10affb04c701c58087f450f63e769ad25f3c4 (diff) | |
| download | rust-6e48b96692d63a79a14563f27fe5185f122434f8.tar.gz rust-6e48b96692d63a79a14563f27fe5185f122434f8.zip | |
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
Diffstat (limited to 'tests/rustdoc-ui/doctest/doctest-output.rs')
| -rw-r--r-- | tests/rustdoc-ui/doctest/doctest-output.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/rustdoc-ui/doctest/doctest-output.rs b/tests/rustdoc-ui/doctest/doctest-output.rs index 26754b73f0b..0bd032669f8 100644 --- a/tests/rustdoc-ui/doctest/doctest-output.rs +++ b/tests/rustdoc-ui/doctest/doctest-output.rs @@ -1,9 +1,9 @@ -// edition:2018 -// aux-build:extern_macros.rs -// compile-flags:--test --test-args=--test-threads=1 -// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR" -// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" -// check-pass +//@ edition:2018 +//@ aux-build:extern_macros.rs +//@ compile-flags:--test --test-args=--test-threads=1 +//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR" +//@ normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" +//@ check-pass //! ``` //! assert_eq!(1 + 1, 2); |
