Skip to content

Commit

Permalink
fix(ssg): ✅ fix error: length comparison to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Jan 1, 2025
1 parent 6d7dd0a commit 88c9d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_navigation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ mod tests {
);
// The navigation generator appears to create additional entries for structure
assert!(
navigation.len() > 0,
!navigation.is_empty(),
"Navigation should contain at least one entry"
);
}
Expand Down

0 comments on commit 88c9d28

Please sign in to comment.