Browse Source
Merge pull request #6044 from AvaloniaUI/fixes/failing-debug-build-tests
Fix a couple of tests that only fail in debug mode.
vnc-mouse-drag-issue
Steven Kirk
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
tests/Avalonia.Visuals.UnitTests/Media/PenTests.cs
|
|
|
@ -59,9 +59,9 @@ namespace Avalonia.Visuals.UnitTests.Media |
|
|
|
} |
|
|
|
|
|
|
|
[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, |
|
|
|
@ -83,7 +83,7 @@ namespace Avalonia.Visuals.UnitTests.Media |
|
|
|
[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, |
|
|
|
|