From d89ac68963818c3356a8f5e8450920f871fe9522 Mon Sep 17 00:00:00 2001 From: Tig Date: Mon, 27 May 2024 08:59:38 -0600 Subject: [PATCH] Backported tests from #3376 --- UnitTests/View/Adornment/BorderTests.cs | 2 +- UnitTests/View/DrawTests.cs | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/UnitTests/View/Adornment/BorderTests.cs b/UnitTests/View/Adornment/BorderTests.cs index becfd1251..adfa2d91a 100644 --- a/UnitTests/View/Adornment/BorderTests.cs +++ b/UnitTests/View/Adornment/BorderTests.cs @@ -501,7 +501,7 @@ public class BorderTests case 1: //Assert.Equal (new (0, 0, 17, 0), subview.Frame); expected = @" -────────────────────"; +─┤1234├─────────────"; break; case 2: diff --git a/UnitTests/View/DrawTests.cs b/UnitTests/View/DrawTests.cs index 378fd8016..b11ad3fa8 100644 --- a/UnitTests/View/DrawTests.cs +++ b/UnitTests/View/DrawTests.cs @@ -428,7 +428,7 @@ public class DrawTests (ITestOutputHelper _output) view.Draw (); - TestHelpers.AssertDriverContentsWithFrameAre (string.Empty, _output); + TestHelpers.AssertDriverContentsWithFrameAre ("──", _output); } [Fact] @@ -497,12 +497,7 @@ public class DrawTests (ITestOutputHelper _output) view.Draw (); - // BUGBUG: Wha? Is this right? Shouldn't it be "└┘"??? - TestHelpers.AssertDriverContentsWithFrameAre ( - """ - - ┌┐ - """, + TestHelpers.AssertDriverContentsWithFrameAre ("││", _output ); }