Skip to content

Commit

Permalink
Merge pull request #6044 from AvaloniaUI/fixes/failing-debug-build-tests
Browse files Browse the repository at this point in the history
Fix a couple of tests that only fail in debug mode.
  • Loading branch information
grokys authored and danwalmsley committed Aug 17, 2021
1 parent 4fe4f3e commit e951082
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Avalonia.Visuals.UnitTests/Media/PenTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ public void Adding_DashStyle_Dashes_Raises_Invalidated()
}

[Fact]
public void Equality_Is_Implemented_Between_Immutable_And_Mmutable_Pens()
public void Equality_Is_Implemented_Between_Immutable_And_Mutable_Pens()
{
var brush = new SolidColorBrush(Colors.Red);
var brush = new ImmutableSolidColorBrush(Colors.Red);
var target1 = new ImmutablePen(
brush: brush,
thickness: 2,
Expand All @@ -83,7 +83,7 @@ public void Equality_Is_Implemented_Between_Immutable_And_Mmutable_Pens()
[Fact]
public void Equality_Is_Implemented_Between_Mutable_And_Immutable_DashStyles()
{
var brush = new SolidColorBrush(Colors.Red);
var brush = new ImmutableSolidColorBrush(Colors.Red);
var target1 = new ImmutablePen(
brush: brush,
thickness: 2,
Expand Down

0 comments on commit e951082

Please sign in to comment.