mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Backported tests from #3376
This commit is contained in:
@@ -501,7 +501,7 @@ public class BorderTests
|
||||
case 1:
|
||||
//Assert.Equal (new (0, 0, 17, 0), subview.Frame);
|
||||
expected = @"
|
||||
────────────────────";
|
||||
─┤1234├─────────────";
|
||||
|
||||
break;
|
||||
case 2:
|
||||
|
||||
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user