mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
lens_cmds tests: move the wasm32 cfg back onto lens_correction_batch_over_files
The new Camera Raw test was inserted between the cfg and the batch-over-files test, which gated the wrong test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
b5213c3280
commit
ea74cede41
1 file changed
+1
-1
@@ -582,7 +582,6 @@ mod tests {
|
||||
assert!((p[0] - p[2]).abs() < 0.01, "{p:?}");
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[test]
|
||||
fn camera_raw_rejects_an_area_too_large_to_develop() {
|
||||
// #962: `area.width() * area.height()` overflowed u32 on a legal 65536×65536 canvas,
|
||||
@@ -604,6 +603,7 @@ mod tests {
|
||||
s.execute(RAW, json!({"exposure": 1})).unwrap();
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
#[test]
|
||||
fn lens_correction_batch_over_files() {
|
||||
let dir = std::env::temp_dir().join(format!("pc-lens-{}", std::process::id()));
|
||||
|
||||
Reference in new issue
Block a user