Add tests for the content syntax parser
This commit is contained in:
parent
4ae966e503
commit
e50bbd468d
12 changed files with 383 additions and 120 deletions
|
|
@ -1,4 +1,3 @@
|
|||
use std::fmt::Display;
|
||||
use crate::{
|
||||
syntax::content::{Parseable, parser::lexeme::Lexeme},
|
||||
};
|
||||
|
|
@ -19,9 +18,3 @@ impl Parseable for LineBreak {
|
|||
"\n".to_owned()
|
||||
}
|
||||
}
|
||||
|
||||
impl Display for LineBreak {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
write!(f, "Line Break")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue