Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
vagetman authored and sdroege committed Dec 4, 2023
1 parent d8e0283 commit 4662234
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,14 @@ mod tests {
);
}

#[test]
fn empty_comment() {
assert_eq!(
comment_tag(b"#\nxxx"),
Result::Ok(("xxx".as_bytes(), None))
);
}

#[test]
fn quotes() {
assert_eq!(
Expand Down

0 comments on commit 4662234

Please sign in to comment.