From adad476f1fd59bfa1942a87f1d69208c393663c5 Mon Sep 17 00:00:00 2001 From: Dheepak Krishnamurthy Date: Mon, 20 May 2024 13:56:10 -0400 Subject: [PATCH] fix: broken tests --- src/app.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.rs b/src/app.rs index 204a03f2..63850d12 100644 --- a/src/app.rs +++ b/src/app.rs @@ -3844,11 +3844,11 @@ mod tests { view.push('"'); for (x, c) in cells.iter().enumerate() { if skip == 0 { - view.push_str(&c.symbol); + view.push_str(c.symbol()); } else { - overwritten.push((x, &c.symbol)) + overwritten.push((x, c.symbol())) } - skip = std::cmp::max(skip, c.symbol.width()).saturating_sub(1); + skip = std::cmp::max(skip, c.symbol().width()).saturating_sub(1); } view.push('"'); if !overwritten.is_empty() {