tmp remove this
This commit is contained in:
		
					parent
					
						
							
								7b018ef10c
							
						
					
				
			
			
				commit
				
					
						36470af114
					
				
			
		
					 1 changed files with 0 additions and 68 deletions
				
			
		
							
								
								
									
										68
									
								
								src/lib.rs
									
										
									
									
									
								
							
							
						
						
									
										68
									
								
								src/lib.rs
									
										
									
									
									
								
							| 
						 | 
					@ -1048,74 +1048,6 @@ mod test {
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #[test]
 | 
					 | 
				
			||||||
    fn list_mixed() {
 | 
					 | 
				
			||||||
        test_parse!(
 | 
					 | 
				
			||||||
            concat!(
 | 
					 | 
				
			||||||
                "- a\n",   //
 | 
					 | 
				
			||||||
                "+ b\n",   //
 | 
					 | 
				
			||||||
                "0) c\n",  //
 | 
					 | 
				
			||||||
                "0) d\n",  //
 | 
					 | 
				
			||||||
                "(b) e\n", //
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
            Start(List(List::Unordered), Attributes::new()),
 | 
					 | 
				
			||||||
            Start(ListItem, Attributes::new()),
 | 
					 | 
				
			||||||
            Start(Paragraph, Attributes::new()),
 | 
					 | 
				
			||||||
            Str("a".into()),
 | 
					 | 
				
			||||||
            End(Paragraph),
 | 
					 | 
				
			||||||
            End(ListItem),
 | 
					 | 
				
			||||||
            End(List(List::Unordered)),
 | 
					 | 
				
			||||||
            Start(List(List::Unordered), Attributes::new()),
 | 
					 | 
				
			||||||
            Start(ListItem, Attributes::new()),
 | 
					 | 
				
			||||||
            Start(Paragraph, Attributes::new()),
 | 
					 | 
				
			||||||
            Str("b".into()),
 | 
					 | 
				
			||||||
            End(Paragraph),
 | 
					 | 
				
			||||||
            End(ListItem),
 | 
					 | 
				
			||||||
            End(List(List::Unordered)),
 | 
					 | 
				
			||||||
            Start(
 | 
					 | 
				
			||||||
                List(List::Ordered {
 | 
					 | 
				
			||||||
                    numbering: Decimal,
 | 
					 | 
				
			||||||
                    style: Paren,
 | 
					 | 
				
			||||||
                    start: 1,
 | 
					 | 
				
			||||||
                }),
 | 
					 | 
				
			||||||
                Attributes::new()
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
            Start(ListItem, Attributes::new()),
 | 
					 | 
				
			||||||
            Start(Paragraph, Attributes::new()),
 | 
					 | 
				
			||||||
            Str("c".into()),
 | 
					 | 
				
			||||||
            End(Paragraph),
 | 
					 | 
				
			||||||
            End(ListItem),
 | 
					 | 
				
			||||||
            Start(ListItem, Attributes::new()),
 | 
					 | 
				
			||||||
            Start(Paragraph, Attributes::new()),
 | 
					 | 
				
			||||||
            Str("d".into()),
 | 
					 | 
				
			||||||
            End(Paragraph),
 | 
					 | 
				
			||||||
            End(ListItem),
 | 
					 | 
				
			||||||
            End(List(List::Ordered {
 | 
					 | 
				
			||||||
                numbering: Decimal,
 | 
					 | 
				
			||||||
                style: Paren,
 | 
					 | 
				
			||||||
                start: 1,
 | 
					 | 
				
			||||||
            })),
 | 
					 | 
				
			||||||
            Start(
 | 
					 | 
				
			||||||
                List(List::Ordered {
 | 
					 | 
				
			||||||
                    numbering: AlphaLower,
 | 
					 | 
				
			||||||
                    style: ParenParen,
 | 
					 | 
				
			||||||
                    start: 2
 | 
					 | 
				
			||||||
                }),
 | 
					 | 
				
			||||||
                Attributes::new()
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
            Start(ListItem, Attributes::new()),
 | 
					 | 
				
			||||||
            Start(Paragraph, Attributes::new()),
 | 
					 | 
				
			||||||
            Str("e".into()),
 | 
					 | 
				
			||||||
            End(Paragraph),
 | 
					 | 
				
			||||||
            End(ListItem),
 | 
					 | 
				
			||||||
            End(List(List::Ordered {
 | 
					 | 
				
			||||||
                numbering: AlphaLower,
 | 
					 | 
				
			||||||
                style: ParenParen,
 | 
					 | 
				
			||||||
                start: 2,
 | 
					 | 
				
			||||||
            })),
 | 
					 | 
				
			||||||
        );
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    #[test]
 | 
					    #[test]
 | 
				
			||||||
    fn list_task() {
 | 
					    fn list_task() {
 | 
				
			||||||
        test_parse!(
 | 
					        test_parse!(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue