aboutsummaryrefslogtreecommitdiff
path: root/tests/node.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-19 09:17:36 +0000
committerFuwn <[email protected]>2024-06-19 09:17:36 +0000
commit6d92ea622bfc98a831a9b94f19896fe0c215f794 (patch)
tree34a8341128580cc190caecb16e9c62e2eb1f72ec /tests/node.rs
parentfeat(germ): bump version (diff)
downloadgerm-6d92ea622bfc98a831a9b94f19896fe0c215f794.tar.xz
germ-6d92ea622bfc98a831a9b94f19896fe0c215f794.zip
fix(ast): parse preformatted gemtext as preformatted contentv0.4.2
Diffstat (limited to 'tests/node.rs')
-rw-r--r--tests/node.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/node.rs b/tests/node.rs
index ff224a4..0faf8c3 100644
--- a/tests/node.rs
+++ b/tests/node.rs
@@ -4,8 +4,8 @@ mod test {
fn node_to_gemtext() {
assert_eq!(
germ::ast::Node::Link {
- to: "/faq".to_string(),
- text: Some("FAQ".to_string())
+ to: "/faq".to_string(),
+ text: Some("FAQ".to_string()),
}
.to_gemtext(),
"=> /faq FAQ",