v0.2.0
This commit is contained in:
1 parent
fc81ecafd6
commit
dc57aa7089
89 files changed
+5290
-1551
No files matched your search
+2
-4
@@ -751,8 +751,7 @@ mod tests {
|
||||
let colors = extract_background_colors(html);
|
||||
assert!(
|
||||
colors.iter().any(|c| c.color == "whitesmoke"),
|
||||
"expected whitesmoke, got: {:?}",
|
||||
colors
|
||||
"expected whitesmoke, got: {colors:?}"
|
||||
);
|
||||
assert!(
|
||||
!colors.iter().any(|c| c.color == "white"),
|
||||
@@ -789,8 +788,7 @@ mod tests {
|
||||
let colors = extract_background_colors(html);
|
||||
assert!(
|
||||
colors.is_empty(),
|
||||
"Fully transparent rgba should produce no colors, got {:?}",
|
||||
colors
|
||||
"Fully transparent rgba should produce no colors, got {colors:?}"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user