Skip to content

Commit

Permalink
Fix failing readme test
Browse files Browse the repository at this point in the history
The failing test is related to the one unsupported mustache case we have
  • Loading branch information
JamyGolden committed May 3, 2024
1 parent 5f02c50 commit 3903219
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ribboncurls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ Hello, {{name}}!
{{> footer}}"#;
let data = r#"{"name": "world"}"#;
let result = ribboncurls::render(template, data, Some(partials)).unwrap();
assert_eq!(result, r#"<header> Some header partial</header>
Hello, world!
assert_eq!(result, r#"<header>Some header partial</header>Hello, world!
<footer>Footer partial content goes here</footer>"#);
}
```
Expand Down

0 comments on commit 3903219

Please sign in to comment.