From 8be7c4c840a9c91aad451b19ee504a76ad43c0fe Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Thu, 4 May 2023 19:41:23 +0200 Subject: [PATCH] block: replace int literals with byte chars --- src/block.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/block.rs b/src/block.rs index a6cde96..ba4b602 100644 --- a/src/block.rs +++ b/src/block.rs @@ -1763,40 +1763,40 @@ mod test { ), ( Enter(Container(List(ListKind { - ty: Unordered(45), + ty: Unordered(b'-'), tight: true }))), "-" ), - (Enter(Container(ListItem(Unordered(45)))), "-"), + (Enter(Container(ListItem(Unordered(b'-')))), "-"), (Enter(Leaf(Paragraph)), ""), (Inline, "a"), (Exit(Leaf(Paragraph)), ""), (Atom(Blankline), "\n"), ( Enter(Container(List(ListKind { - ty: Unordered(42), + ty: Unordered(b'*'), tight: true }))), "*" ), - (Enter(Container(ListItem(Unordered(42)))), "*"), + (Enter(Container(ListItem(Unordered(b'*')))), "*"), (Enter(Leaf(Paragraph)), ""), (Inline, "b"), (Exit(Leaf(Paragraph)), ""), (Atom(Blankline), "\n"), - (Exit(Container(ListItem(Unordered(42)))), "*"), + (Exit(Container(ListItem(Unordered(b'*')))), "*"), ( Exit(Container(List(ListKind { - ty: Unordered(42), + ty: Unordered(b'*'), tight: true }))), "*" ), - (Exit(Container(ListItem(Unordered(45)))), "-"), + (Exit(Container(ListItem(Unordered(b'-')))), "-"), ( Exit(Container(List(ListKind { - ty: Unordered(45), + ty: Unordered(b'-'), tight: true }))), "-"