blob: 0faf8c381ed034c7aac04255eec8a5fb875a7cfa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#[cfg(test)]
mod test {
#[test]
fn node_to_gemtext() {
assert_eq!(
germ::ast::Node::Link {
to: "/faq".to_string(),
text: Some("FAQ".to_string()),
}
.to_gemtext(),
"=> /faq FAQ",
);
}
}
|