about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/issue-5157
diff options
context:
space:
mode:
authorCaleb Cartwright <caleb.cartwright@outlook.com>2022-03-29 23:17:30 -0500
committerCaleb Cartwright <caleb.cartwright@outlook.com>2022-03-29 23:17:30 -0500
commit419df99e1824a5b65eb0c6d67850dfe014b019fa (patch)
treef48b577363bf95818a608eecbbcfef182abbbcd2 /src/tools/rustfmt/tests/source/issue-5157
parent9c06e1ba47e1077725a950e0b5d1870a89c8b536 (diff)
parent5ff7b632a95bac6955611d85040859128902c580 (diff)
downloadrust-419df99e1824a5b65eb0c6d67850dfe014b019fa.tar.gz
rust-419df99e1824a5b65eb0c6d67850dfe014b019fa.zip
Merge commit '5ff7b632a95bac6955611d85040859128902c580' into sync-rustfmt-subtree
Diffstat (limited to 'src/tools/rustfmt/tests/source/issue-5157')
-rw-r--r--src/tools/rustfmt/tests/source/issue-5157/indented_itemized_markdown_blockquote.rs4
-rw-r--r--src/tools/rustfmt/tests/source/issue-5157/nested_itemized_markdown_blockquote.rs10
-rw-r--r--src/tools/rustfmt/tests/source/issue-5157/support_itemized_markdown_blockquote.rs4
3 files changed, 18 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/source/issue-5157/indented_itemized_markdown_blockquote.rs b/src/tools/rustfmt/tests/source/issue-5157/indented_itemized_markdown_blockquote.rs
new file mode 100644
index 00000000000..5c1d79a7430
--- /dev/null
+++ b/src/tools/rustfmt/tests/source/issue-5157/indented_itemized_markdown_blockquote.rs
@@ -0,0 +1,4 @@
+// rustfmt-wrap_comments: true
+
+///        > For each sample received, the middleware internally maintains a sample_state relative to each DataReader. The sample_state can either be READ or NOT_READ.
+fn block_quote() {}
diff --git a/src/tools/rustfmt/tests/source/issue-5157/nested_itemized_markdown_blockquote.rs b/src/tools/rustfmt/tests/source/issue-5157/nested_itemized_markdown_blockquote.rs
new file mode 100644
index 00000000000..cf200d04e08
--- /dev/null
+++ b/src/tools/rustfmt/tests/source/issue-5157/nested_itemized_markdown_blockquote.rs
@@ -0,0 +1,10 @@
+// rustfmt-wrap_comments: true
+
+/// > For each sample received, the middleware internally maintains a sample_state relative to each DataReader. The sample_state can either be READ or NOT_READ.
+///
+/// > > For each sample received, the middleware internally maintains a sample_state relative to each DataReader. The sample_state can either be READ or NOT_READ.
+///
+/// > > > For each sample received, the middleware internally maintains a sample_state relative to each DataReader. The sample_state can either be READ or NOT_READ.
+///
+/// > > > > > > > > For each sample received, the middleware internally maintains a sample_state relative to each DataReader. The sample_state can either be READ or NOT_READ.
+fn block_quote() {}
diff --git a/src/tools/rustfmt/tests/source/issue-5157/support_itemized_markdown_blockquote.rs b/src/tools/rustfmt/tests/source/issue-5157/support_itemized_markdown_blockquote.rs
new file mode 100644
index 00000000000..eb436402e4e
--- /dev/null
+++ b/src/tools/rustfmt/tests/source/issue-5157/support_itemized_markdown_blockquote.rs
@@ -0,0 +1,4 @@
+// rustfmt-wrap_comments: true
+
+/// > For each sample received, the middleware internally maintains a sample_state relative to each DataReader. The sample_state can either be READ or NOT_READ.
+fn block_quote() {}