Skip to content

Commit 88c9d28

Browse files
fix(ssg): ✅ fix error: length comparison to zero
1 parent 6d7dd0a commit 88c9d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_navigation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ mod tests {
3737
);
3838
// The navigation generator appears to create additional entries for structure
3939
assert!(
40-
navigation.len() > 0,
40+
!navigation.is_empty(),
4141
"Navigation should contain at least one entry"
4242
);
4343
}

0 commit comments

Comments
 (0)