test: add test case (#33)
This commit is contained in:
parent
52b498d3c8
commit
babae8dbe8
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ impl Headline {
|
|||
///
|
||||
/// let hdl = Org::parse("* [#A]").first_node::<Headline>().unwrap();
|
||||
/// assert_eq!(hdl.priority().unwrap().text(), "A");
|
||||
/// let hdl = Org::parse("** DONE [#B]::").first_node::<Headline>().unwrap();
|
||||
/// assert_eq!(hdl.priority().unwrap().text(), "B");
|
||||
/// let hdl = Org::parse("* [#破]").first_node::<Headline>().unwrap();
|
||||
/// assert_eq!(hdl.priority().unwrap().text(), "破");
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue