about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWim Looman <git@nemo157.com>2022-09-10 13:31:08 +0200
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2023-01-29 16:47:06 -0600
commitcdd0b56071cbc9247461bbd2e0551b46e653162f (patch)
tree01d2f413695d77a13b3c8b9e7e2582457a8feb9b
parent368a63305cea7a472fec37757bf962cdfc12be26 (diff)
downloadrust-cdd0b56071cbc9247461bbd2e0551b46e653162f.tar.gz
rust-cdd0b56071cbc9247461bbd2e0551b46e653162f.zip
Test that both table headers and values are not wrapped
-rw-r--r--tests/target/issue-4210.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/target/issue-4210.rs b/tests/target/issue-4210.rs
index e96ba1b3fd0..3fd96639082 100644
--- a/tests/target/issue-4210.rs
+++ b/tests/target/issue-4210.rs
@@ -7,9 +7,9 @@
 /// | val   | x                                                                           |
 pub struct Item;
 
-/// Table that is > 80 symbols:
+/// Table value that is > 80 symbols:
 ///
-/// | table | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-/// |-------|-----------------------------------------------------------------------------
-/// | val   | x                                                                          
-pub struct Item;
+/// | table    | heading
+/// |----------|-----------------------------------------------------------------------------
+/// | long val | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+pub struct Item2;