From ed0fde6593c3dcd812a0e3eb3f08755ddc5d6a5c Mon Sep 17 00:00:00 2001 From: bflatastic Date: Thu, 19 Nov 2026 08:21:29 +0700 Subject: [PATCH] Revert "color: the palette tests define the swatch exchange constants craft-cms keeps private" This reverts commit 4e63316d9a93c893135c5cc0f08e96ddbc03eaf8. --- crates/color/src/palette_io/tests.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/color/src/palette_io/tests.rs b/crates/color/src/palette_io/tests.rs index 0e6adb90ed..bbbae16a53 100644 --- a/crates/color/src/palette_io/tests.rs +++ b/crates/color/src/palette_io/tests.rs @@ -2,13 +2,6 @@ use super::*; use crate::{Gradient, GradientPaint, GradientStop}; use proptest::prelude::*; -// The swatch exchange file's signature, block types and entry cap, which craft-cms keeps private. -const ASE_SIGNATURE: &[u8] = b"ASEF"; -const ASE_GROUP_START: u16 = 0xC001; -const ASE_GROUP_END: u16 = 0xC002; -const ASE_COLOR: u16 = 0x0001; -const ASE_MAX_ENTRIES: usize = 100_000; - #[test] fn gpl_blank_name_keeps_fallback() { let blank = "GIMP Palette\nName: \nColumns: 0\n#\n 1 2 3\tx\n";