aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_tabs.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 18:17:01 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-15 18:17:01 +0200
commitacc35758778bfda5cb01951533868eb8baa2e2d2 (patch)
tree82ded1c1f88d04a1c37e40822ad7e5a6bba8a717 /tests/misc_tabs.rs
parent75dcb48f78a8a798fde525d2d39e20cffec48e50 (diff)
downloadmarkdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.tar.gz
markdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.tar.bz2
markdown-rs-acc35758778bfda5cb01951533868eb8baa2e2d2.zip
Add code (text)
Diffstat (limited to '')
-rw-r--r--tests/misc_tabs.rs55
1 files changed, 25 insertions, 30 deletions
diff --git a/tests/misc_tabs.rs b/tests/misc_tabs.rs
index bdd88cf..0d05be9 100644
--- a/tests/misc_tabs.rs
+++ b/tests/misc_tabs.rs
@@ -181,40 +181,35 @@ fn tabs_text() {
"should support character reference resolving to a tab"
);
- // To do: code (text).
- // assert_eq!(
- // micromark("`\tx`"),
- // "<p><code>\tx</code></p>",
- // "should support a tab starting code"
- // );
+ assert_eq!(
+ micromark("`\tx`"),
+ "<p><code>\tx</code></p>",
+ "should support a tab starting code"
+ );
- // To do: code (text).
- // assert_eq!(
- // micromark("`x\t`"),
- // "<p><code>x\t</code></p>",
- // "should support a tab ending code"
- // );
+ assert_eq!(
+ micromark("`x\t`"),
+ "<p><code>x\t</code></p>",
+ "should support a tab ending code"
+ );
- // To do: code (text).
- // assert_eq!(
- // micromark("`\tx\t`"),
- // "<p><code>\tx\t</code></p>",
- // "should support tabs around code"
- // );
+ assert_eq!(
+ micromark("`\tx\t`"),
+ "<p><code>\tx\t</code></p>",
+ "should support tabs around code"
+ );
- // To do: code (text).
- // assert_eq!(
- // micromark("`\tx `"),
- // "<p><code>\tx </code></p>",
- // "should support a tab starting, and a space ending, code"
- // );
+ assert_eq!(
+ micromark("`\tx `"),
+ "<p><code>\tx </code></p>",
+ "should support a tab starting, and a space ending, code"
+ );
- // To do: code (text).
- // assert_eq!(
- // micromark("` x\t`"),
- // "<p><code> x\t</code></p>",
- // "should support a space starting, and a tab ending, code"
- // );
+ assert_eq!(
+ micromark("` x\t`"),
+ "<p><code> x\t</code></p>",
+ "should support a space starting, and a tab ending, code"
+ );
// To do: trim trailing whitespace.
// // Note: CM does not strip it in this case.