diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-10 20:48:32 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-10 20:48:32 +0100 |
| commit | 3c7d249ae4c4c76e7f8bac4cc4313b877610c60b (patch) | |
| tree | 3ee2d4a82f3c36ffa030d9807750bea48cc859be /src/parse/tests.rs | |
| parent | 515905d78db67005cdea1bec9e63e3a7172ce493 (diff) | |
Rename token modes ✏
Diffstat (limited to 'src/parse/tests.rs')
| -rw-r--r-- | src/parse/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/tests.rs b/src/parse/tests.rs index ca09f454..3c57fa1f 100644 --- a/src/parse/tests.rs +++ b/src/parse/tests.rs @@ -179,11 +179,11 @@ macro_rules! Call { #[test] fn test_parse_comments() { - // In body. + // In markup. t!("a// you\nb" Text("a"), Space, Text("b")); t!("* // \n /*\n\n*/*" Strong, Space, Space, Strong); - // In header. + // 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)])); |
