diff --git a/src/ast/headline.rs b/src/ast/headline.rs index 54cd52d..cc274ed 100644 --- a/src/ast/headline.rs +++ b/src/ast/headline.rs @@ -109,6 +109,8 @@ impl Headline { /// /// let hdl = Org::parse("* [#A]").first_node::().unwrap(); /// assert_eq!(hdl.priority().unwrap().text(), "A"); + /// let hdl = Org::parse("** DONE [#B]::").first_node::().unwrap(); + /// assert_eq!(hdl.priority().unwrap().text(), "B"); /// let hdl = Org::parse("* [#破]").first_node::().unwrap(); /// assert_eq!(hdl.priority().unwrap().text(), "破"); /// ```