Skip to content

Commit

Permalink
fix(tool): make status frontmatter serialize like in yari (#109)
Browse files Browse the repository at this point in the history
* fix test

---------

Co-authored-by: Florian Dieminger <[email protected]>
  • Loading branch information
argl and fiji-flo authored Jan 29, 2025
1 parent 5b5206b commit c43860d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/rari-doc/src/pages/types/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ mod tests {
assert_eq!(meta.status.len(), 2);

let fm = r#"
status: experimental
status:
- experimental
"#;
let meta = serde_yaml_ng::from_str::<FrontMatter>(fm).unwrap();
assert_eq!(meta.status.len(), 1);
Expand Down

0 comments on commit c43860d

Please sign in to comment.