Add regular link tests for all the types.
This commit is contained in:
@@ -46,6 +46,9 @@ fn regular_link_without_description<'b, 'g, 'r, 's>(
|
||||
remaining,
|
||||
RegularLink {
|
||||
source: source.into(),
|
||||
link_type: todo!(),
|
||||
path: todo!(),
|
||||
raw_link: todo!(),
|
||||
},
|
||||
))
|
||||
}
|
||||
@@ -67,6 +70,9 @@ fn regular_link_with_description<'b, 'g, 'r, 's>(
|
||||
remaining,
|
||||
RegularLink {
|
||||
source: source.into(),
|
||||
link_type: todo!(),
|
||||
path: todo!(),
|
||||
raw_link: todo!(),
|
||||
},
|
||||
))
|
||||
}
|
||||
|
||||
@@ -77,6 +77,9 @@ pub struct PlainText<'s> {
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub struct RegularLink<'s> {
|
||||
pub source: &'s str,
|
||||
pub link_type: &'s str,
|
||||
pub path: &'s str,
|
||||
pub raw_link: &'s str,
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user