Add test cases.

This commit is contained in:
Tom Alexander
2023-07-18 21:08:13 -04:00
parent 3ab0dd4531
commit 5ad8fdf4b2
4 changed files with 14 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ use crate::error::Res;
use crate::parser::object::Entity;
use crate::parser::parser_with_context::parser_with_context;
use crate::parser::util::get_consumed;
use crate::parser::util::not_yet_implemented;
use crate::parser::LatexFragment;
#[tracing::instrument(ret, level = "debug")]
@@ -19,6 +20,7 @@ pub fn latex_fragment<'r, 's>(
context: Context<'r, 's>,
input: &'s str,
) -> Res<&'s str, LatexFragment<'s>> {
not_yet_implemented()?;
let (remaining, _) = tag("\\")(input)?;
todo!()
// let (remaining, entity_name) = name(context, remaining)?;