From b54d763154eff23692e06500a4aa342d847ef35a Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 6 Jan 2024 07:05:55 +0100 Subject: Fix serde tests without default features Authored-by: James McCoy --- alacritty_terminal/src/term/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'alacritty_terminal/src') diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 2553270c..ec79886c 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -2710,6 +2710,7 @@ mod tests { /// This test is in the term module as opposed to the grid since we want to /// test this property with a T=Cell. #[test] + #[cfg(feature = "serde")] fn grid_serde() { let grid: Grid = Grid::new(24, 80, 0); let serialized = serde_json::to_string(&grid).expect("ser"); -- cgit