block: replace int literals with byte chars
This commit is contained in:
		
					parent
					
						
							
								c29b926d16
							
						
					
				
			
			
				commit
				
					
						8be7c4c840
					
				
			
		
					 1 changed files with 8 additions and 8 deletions
				
			
		
							
								
								
									
										16
									
								
								src/block.rs
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								src/block.rs
									
										
									
									
									
								
							| 
						 | 
					@ -1763,40 +1763,40 @@ mod test {
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
            (
 | 
					            (
 | 
				
			||||||
                Enter(Container(List(ListKind {
 | 
					                Enter(Container(List(ListKind {
 | 
				
			||||||
                    ty: Unordered(45),
 | 
					                    ty: Unordered(b'-'),
 | 
				
			||||||
                    tight: true
 | 
					                    tight: true
 | 
				
			||||||
                }))),
 | 
					                }))),
 | 
				
			||||||
                "-"
 | 
					                "-"
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
            (Enter(Container(ListItem(Unordered(45)))), "-"),
 | 
					            (Enter(Container(ListItem(Unordered(b'-')))), "-"),
 | 
				
			||||||
            (Enter(Leaf(Paragraph)), ""),
 | 
					            (Enter(Leaf(Paragraph)), ""),
 | 
				
			||||||
            (Inline, "a"),
 | 
					            (Inline, "a"),
 | 
				
			||||||
            (Exit(Leaf(Paragraph)), ""),
 | 
					            (Exit(Leaf(Paragraph)), ""),
 | 
				
			||||||
            (Atom(Blankline), "\n"),
 | 
					            (Atom(Blankline), "\n"),
 | 
				
			||||||
            (
 | 
					            (
 | 
				
			||||||
                Enter(Container(List(ListKind {
 | 
					                Enter(Container(List(ListKind {
 | 
				
			||||||
                    ty: Unordered(42),
 | 
					                    ty: Unordered(b'*'),
 | 
				
			||||||
                    tight: true
 | 
					                    tight: true
 | 
				
			||||||
                }))),
 | 
					                }))),
 | 
				
			||||||
                "*"
 | 
					                "*"
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
            (Enter(Container(ListItem(Unordered(42)))), "*"),
 | 
					            (Enter(Container(ListItem(Unordered(b'*')))), "*"),
 | 
				
			||||||
            (Enter(Leaf(Paragraph)), ""),
 | 
					            (Enter(Leaf(Paragraph)), ""),
 | 
				
			||||||
            (Inline, "b"),
 | 
					            (Inline, "b"),
 | 
				
			||||||
            (Exit(Leaf(Paragraph)), ""),
 | 
					            (Exit(Leaf(Paragraph)), ""),
 | 
				
			||||||
            (Atom(Blankline), "\n"),
 | 
					            (Atom(Blankline), "\n"),
 | 
				
			||||||
            (Exit(Container(ListItem(Unordered(42)))), "*"),
 | 
					            (Exit(Container(ListItem(Unordered(b'*')))), "*"),
 | 
				
			||||||
            (
 | 
					            (
 | 
				
			||||||
                Exit(Container(List(ListKind {
 | 
					                Exit(Container(List(ListKind {
 | 
				
			||||||
                    ty: Unordered(42),
 | 
					                    ty: Unordered(b'*'),
 | 
				
			||||||
                    tight: true
 | 
					                    tight: true
 | 
				
			||||||
                }))),
 | 
					                }))),
 | 
				
			||||||
                "*"
 | 
					                "*"
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
            (Exit(Container(ListItem(Unordered(45)))), "-"),
 | 
					            (Exit(Container(ListItem(Unordered(b'-')))), "-"),
 | 
				
			||||||
            (
 | 
					            (
 | 
				
			||||||
                Exit(Container(List(ListKind {
 | 
					                Exit(Container(List(ListKind {
 | 
				
			||||||
                    ty: Unordered(45),
 | 
					                    ty: Unordered(b'-'),
 | 
				
			||||||
                    tight: true
 | 
					                    tight: true
 | 
				
			||||||
                }))),
 | 
					                }))),
 | 
				
			||||||
                "-"
 | 
					                "-"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue