Skip to content

Commit

Permalink
Fix re_types/tests/image.rs (#6652)
Browse files Browse the repository at this point in the history
* [x] checking the box
  • Loading branch information
Wumpf authored Jun 26, 2024
1 parent c4bd866 commit 304f6bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/re_types/tests/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn image_roundtrip() {
}
.into(),
draw_order: None,
opacity: Some(123.0.into()),
opacity: None,
}];

let all_arch_serialized = [Image::try_from(ndarray::array![[1u8, 2, 3], [4, 5, 6]])
Expand Down Expand Up @@ -89,7 +89,7 @@ fn dynamic_image_roundtrip() {
}
.into(),
draw_order: None,
opacity: Some(123.0.into()),
opacity: None,
}];

let mut img = RgbImage::new(3, 2);
Expand Down
2 changes: 1 addition & 1 deletion crates/re_types/tests/segmentation_image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn segmentation_image_roundtrip() {
}
.into(),
draw_order: None,
opacity: Some(123.0.into()),
opacity: None,
}];

let all_arch_serialized = [SegmentationImage::try_from(ndarray::array![
Expand Down

0 comments on commit 304f6bd

Please sign in to comment.