Skip to content

Commit 4d25f9d

Browse files
author
tznind
committed
Update test, currently failing due to gui-cs/Terminal.Gui#4639
1 parent 7a74430 commit 4d25f9d

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

tests/PropertyTests.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@ public void Changing_LineOrientation( )
3333
prop?.SetValue( Orientation.Vertical );
3434
//Assert.That( lv.LineRune, Is.EqualTo( Glyphs.VLine ) );
3535

36-
// now try with a dim fill
37-
lv.Height = Dim.Fill( );
38-
lv.Width = 1;
36+
37+
Assert.Multiple(() =>
38+
{
39+
Assert.That(lv.Orientation, Is.EqualTo(Orientation.Vertical));
40+
//Assert.That( lv.LineRune, Is.EqualTo( Glyphs.HLine ) );
41+
Assert.That(lv.Width, Is.EqualTo(Dim.Absolute(1)));
42+
Assert.That(lv.Height, Is.EqualTo(Dim.Fill()));
43+
});
3944

4045
prop?.SetValue( Orientation.Horizontal );
4146

0 commit comments

Comments
 (0)