mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Revamped to further simplify and make more correct
This commit is contained in:
@@ -326,8 +326,7 @@ public class AdornmentTests (ITestOutputHelper output)
|
||||
adornment.ThicknessChanged += (s, e) =>
|
||||
{
|
||||
raised = true;
|
||||
Assert.Equal (Thickness.Empty, e.CurrentValue);
|
||||
Assert.Equal (new Thickness (1, 2, 3, 4), e.NewValue);
|
||||
Assert.Equal (new Thickness (1, 2, 3, 4), e.CurrentValue);
|
||||
Assert.Equal (new Thickness (1, 2, 3, 4), adornment.Thickness);
|
||||
};
|
||||
adornment.Thickness = new Thickness (1, 2, 3, 4);
|
||||
|
||||
Reference in New Issue
Block a user