summaryrefslogtreecommitdiff
path: root/src/parse/tests.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-13 15:44:41 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-13 15:44:41 +0100
commit1d01b93f679bccf8f228616bcf0f0ebcdee64d98 (patch)
tree3fa476cf5f783fcbb22614e0b7b53cb25a398b91 /src/parse/tests.rs
parent60154474ba1cf4a556bbed7f80ee0947c29dbca8 (diff)
Move comment tests to integration 🚚
Diffstat (limited to 'src/parse/tests.rs')
-rw-r--r--src/parse/tests.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/parse/tests.rs b/src/parse/tests.rs
index 9460db6b..2e7a2af3 100644
--- a/src/parse/tests.rs
+++ b/src/parse/tests.rs
@@ -218,23 +218,6 @@ macro_rules! Let {
}
#[test]
-fn test_parse_comments() {
- // In markup.
- t!("a// you\nb" Text("a"), Space, Text("b"));
- t!("* // \n /*\n\n*/*" Strong, Space, Space, Strong);
-
- // In code.
- t!("[v /*12pt*/]" Call!("v"));
- t!("[v //\n]" Call!("v"));
- t!("[v 12, /*\n*/ size: 14]" Call!("v", Args![Int(12), "size" => Int(14)]));
-
- // Error.
- t!("a*/b"
- nodes: [Text("a"), Text("b")],
- errors: [S(1..3, "unexpected end of block comment")]);
-}
-
-#[test]
fn test_parse_simple_nodes() {
// Basics.
t!("");