From 4ddd40f13b330f7c1fcb4c42df48b9e8d479c697 Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sat, 21 Dec 2024 16:08:48 -0300 Subject: [PATCH] add mock content --- frontends/rioterm/src/context/grid.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontends/rioterm/src/context/grid.rs b/frontends/rioterm/src/context/grid.rs index b5535a0214..72fb7fc5c7 100644 --- a/frontends/rioterm/src/context/grid.rs +++ b/frontends/rioterm/src/context/grid.rs @@ -991,15 +991,15 @@ pub mod test { assert_eq!(context_dimension.columns, 66); assert_eq!(context_dimension.lines, 88); - // let rich_text_id = 1; - // let route_id = 0; - // let context = create_mock_context( - // VoidListener {}, - // WindowId::from(0), - // route_id, - // rich_text_id, - // context_dimension, - // ); + let rich_text_id = 1; + let route_id = 0; + let context = create_mock_context( + VoidListener {}, + WindowId::from(0), + route_id, + rich_text_id, + context_dimension, + ); // let context_width = context.dimension.width; // let context_height = context.dimension.height; // let context_margin = context.dimension.margin;