Skip to content

Commit 7c645f3

Browse files
committed
Fixed formatting
1 parent 86a807b commit 7c645f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/src/integrations/nextjs/html_post_process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ mod tests {
346346
// The first script is malformed (trailing backslash escapes the quote),
347347
// so it won't be detected as valid. The second one should be found.
348348
assert!(
349-
scripts.len() >= 1,
349+
!scripts.is_empty(),
350350
"Should find at least the valid script. Found: {}",
351351
scripts.len()
352352
);

0 commit comments

Comments
 (0)