From cba78821ed13d5a92c74d092914fbad4c842f889 Mon Sep 17 00:00:00 2001
From: Titus Wormer
Date: Thu, 9 Jun 2022 14:03:04 +0200
Subject: Add temporary support for stripping whitespace
---
tests/html_flow.rs | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
(limited to 'tests/html_flow.rs')
diff --git a/tests/html_flow.rs b/tests/html_flow.rs
index 18eff2d..0a5ec72 100644
--- a/tests/html_flow.rs
+++ b/tests/html_flow.rs
@@ -814,12 +814,11 @@ fn html_flow_7_complete() {
"should not support a line ending directly after a tag name"
);
- // To do: trim trailing whitespace.
- // assert_eq!(
- // micromark_with_options("<x
",
- // "should not support an eof after a space directly after a tag name"
- // );
+ assert_eq!(
+ micromark_with_options("<x",
+ "should not support an eof after a space directly after a tag name"
+ );
assert_eq!(
micromark_with_options("