Fix build after merging main into #335
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e0deb3f4e5
commit
6409a8cbbd
|
|
@ -3042,7 +3042,8 @@ mod tests {
|
|||
.shapes
|
||||
.iter()
|
||||
.filter_map(|shape| match &shape.shape {
|
||||
Shape::Mesh(mesh) if !mesh.vertices.is_empty() && mesh.vertices.iter().all(|vertex| clip_rect.contains(vertex.pos)) => {
|
||||
// The waveform's columns snap to physical pixels and fade out over half of one.
|
||||
Shape::Mesh(mesh) if !mesh.vertices.is_empty() && mesh.vertices.iter().all(|vertex| clip_rect.expand(1.0).contains(vertex.pos)) => {
|
||||
Some(mesh.vertices.iter().map(|vertex| vertex.pos).collect())
|
||||
}
|
||||
_ => None,
|
||||
|
|
|
|||
|
|
@ -502,7 +502,8 @@ mod tests {
|
|||
drop(inner);
|
||||
drop(outer);
|
||||
drop(app);
|
||||
assert!(rx.recv_timeout(std::time::Duration::from_secs(5)).is_ok(), "the palette lock must be released when every holder drops it");
|
||||
// Other tests compete for the lock too, and some hold it for seconds: allow for a queue.
|
||||
assert!(rx.recv_timeout(std::time::Duration::from_secs(120)).is_ok(), "the palette lock must be released when every holder drops it");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Reference in New Issue