We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a807b commit 7c645f3Copy full SHA for 7c645f3
crates/common/src/integrations/nextjs/html_post_process.rs
@@ -346,7 +346,7 @@ mod tests {
346
// The first script is malformed (trailing backslash escapes the quote),
347
// so it won't be detected as valid. The second one should be found.
348
assert!(
349
- scripts.len() >= 1,
+ !scripts.is_empty(),
350
"Should find at least the valid script. Found: {}",
351
scripts.len()
352
);
0 commit comments