Expand test coverage
This commit is contained in:
parent
3837af387a
commit
5958f1551b
27 changed files with 593 additions and 109 deletions
|
|
@ -103,4 +103,15 @@ mod tests {
|
|||
fn trailing_oblique_with_newline() {
|
||||
assert_eq!(read("see _acks_\n"), "<p>see <em>acks</em></p>");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn underline() {
|
||||
assert_eq!(read("__u__"), "<p><u>u</u></p>");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn checkbox() {
|
||||
assert_eq!(read("[ ]"), r#"<p><input type="checkbox"/></p>"#);
|
||||
assert_eq!(read("[x]"), r#"<p><input type="checkbox" checked /></p>"#);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue