about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/wrong-ast.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-06-10 22:58:24 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-08-13 20:14:54 +0200
commit2fd8d1c1cee3bce5c088cd5537ec293f04d34e15 (patch)
tree93f37b8f1a15c522d12349a59e9f3183efe572e6 /tests/rustdoc-ui/doctest/wrong-ast.rs
parent7ec3cabe1776b1a3d0340b24a5a6901797836430 (diff)
downloadrust-2fd8d1c1cee3bce5c088cd5537ec293f04d34e15.tar.gz
rust-2fd8d1c1cee3bce5c088cd5537ec293f04d34e15.zip
Add/update `rustdoc-ui` tests to check new merged doctests
Diffstat (limited to 'tests/rustdoc-ui/doctest/wrong-ast.rs')
-rw-r--r--tests/rustdoc-ui/doctest/wrong-ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/doctest/wrong-ast.rs b/tests/rustdoc-ui/doctest/wrong-ast.rs
index b3fbf630c32..dae86fbfc59 100644
--- a/tests/rustdoc-ui/doctest/wrong-ast.rs
+++ b/tests/rustdoc-ui/doctest/wrong-ast.rs
@@ -1,7 +1,7 @@
 //@ 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"
-//@ normalize-stdout-test "wrong-ast.rs:\d+:\d+" -> "wrong-ast.rs:$$LINE:$$COL"
+//@ normalize-stdout-test ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL"
 //@ failure-status: 101
 
 /// ```