Skip to content

Commit

Permalink
fix(ssg): 🐛 fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Sep 10, 2024
1 parent c5b4d65 commit 2bd6693
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_rss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mod tests {

// Test generating an RSS feed with some custom options
#[test]
// Suppress box-pointers lint for this test
// Suppress box-pointers lint for this test
fn test_generate_rss_with_custom_options() {
let mut options = RssData::new();
options.title = "My RSS Feed".to_string();
Expand Down Expand Up @@ -93,7 +93,7 @@ mod tests {

// Test macro_write_element function
#[test]
// Suppress box-pointers lint for this test
// Suppress box-pointers lint for this test
fn test_macro_write_element(
) -> Result<(), Box<dyn std::error::Error>> {
let mut writer = Writer::new(Cursor::new(Vec::new()));
Expand All @@ -111,7 +111,7 @@ mod tests {

// Test generating an RSS feed
#[test]
// Suppress box-pointers lint for this test
// Suppress box-pointers lint for this test
fn test_generate_rss() {
let options = RssData::new();
let rss_str = generate_rss(&options);
Expand All @@ -120,7 +120,7 @@ mod tests {

// Test generating an RSS feed with empty title
#[test]
// Suppress box-pointers lint for this test
// Suppress box-pointers lint for this test
fn test_generate_rss_with_empty_title() {
let mut options = RssData::new();
options.title = "".to_string();
Expand All @@ -143,7 +143,7 @@ mod tests {

// Test generating an RSS feed with invalid URL
#[test]
// Suppress box-pointers lint for this test
// Suppress box-pointers lint for this test
fn test_generate_rss_with_invalid_url() {
let mut options = RssData::new();
options.link = "invalid-url".to_string();
Expand Down

0 comments on commit 2bd6693

Please sign in to comment.