about summary refs log tree commit diff
path: root/tests/rustdoc/markdown-table-escape-pipe-27862.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-10-04 12:58:06 -0700
committerMichael Howell <michael@notriddle.com>2023-10-04 12:58:06 -0700
commit9266270ef55e3138de0c58b9cd4c0949aa2eb04c (patch)
tree689bfe5f58e854b6ee75df652a8a917b7aa34e3e /tests/rustdoc/markdown-table-escape-pipe-27862.rs
parenta198aff4a4b1b83476497438cfc4771fb19c7bc4 (diff)
downloadrust-9266270ef55e3138de0c58b9cd4c0949aa2eb04c.tar.gz
rust-9266270ef55e3138de0c58b9cd4c0949aa2eb04c.zip
Rename issue-\d+.rs tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/markdown-table-escape-pipe-27862.rs')
-rw-r--r--tests/rustdoc/markdown-table-escape-pipe-27862.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc/markdown-table-escape-pipe-27862.rs b/tests/rustdoc/markdown-table-escape-pipe-27862.rs
new file mode 100644
index 00000000000..19adcb94508
--- /dev/null
+++ b/tests/rustdoc/markdown-table-escape-pipe-27862.rs
@@ -0,0 +1,6 @@
+#![crate_name="issue_27862"]
+
+/// Tests  | Table
+/// ------|-------------
+/// t = b | id = \|x\| x
+pub struct Foo; // @has issue_27862/struct.Foo.html //td 'id = |x| x'