Add test cases.
This commit is contained in:
@@ -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)?;
|
||||
|
||||
Reference in New Issue
Block a user