From ab5247c62e8bb4a287129285effe6d0d603e6a59 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Wed, 29 Jun 2022 18:31:52 -0700 Subject: [PATCH] Actually correctly flag tests --- crates/terminal/src/terminal_element.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/terminal/src/terminal_element.rs b/crates/terminal/src/terminal_element.rs index 0b02d918fc..2aa32b6367 100644 --- a/crates/terminal/src/terminal_element.rs +++ b/crates/terminal/src/terminal_element.rs @@ -411,6 +411,7 @@ fn draw_debug_grid(bounds: RectF, layout: &mut LayoutState, cx: &mut PaintContex } } +#[cfg(test)] mod tests { #[test] fn test_rgb_for_index() {