mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
test(format): wrap SmartSource::Embedded bytes in Arc (#587)
This commit is contained in:
1 file changed
+1
-1
@@ -66,7 +66,7 @@ fn pcraft_roundtrips_camera_raw_smart_filter_params() {
|
||||
LayerContent::Smart(SmartObject {
|
||||
contents_id: SmartContentsId::fresh(),
|
||||
vector_preview: None,
|
||||
source: SmartSource::Embedded { file_name: "inner.png".into(), bytes: vec![1, 2, 3, 4] },
|
||||
source: SmartSource::Embedded { file_name: "inner.png".into(), bytes: std::sync::Arc::new(vec![1, 2, 3, 4]) },
|
||||
transform: Affine::IDENTITY,
|
||||
smart_filters: vec![SmartFilter {
|
||||
command: "filter.cameraRaw".into(),
|
||||
|
||||
Reference in new issue
Block a user