From 1d01b93f679bccf8f228616bcf0f0ebcdee64d98 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 13 Jan 2021 15:44:41 +0100 Subject: =?UTF-8?q?Move=20comment=20tests=20to=20integration=20?= =?UTF-8?q?=F0=9F=9A=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/parse/tests.rs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/parse/tests.rs') 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 @@ -217,23 +217,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. -- cgit v1.2.3