From 0094c4cf8741dba0f21e95a7aa865d7c6650a124 Mon Sep 17 00:00:00 2001 From: Jumar Macato Date: Mon, 29 Oct 2018 19:10:38 +0800 Subject: [PATCH] Fix unit test by specifying the font in the test image. --- tests/Avalonia.RenderTests/Controls/TextBlockTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs b/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs index 80b850635d..63e1578145 100644 --- a/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs +++ b/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs @@ -25,6 +25,7 @@ namespace Avalonia.Direct2D1.RenderTests.Controls { Decorator target = new Decorator { + FontFamily = new FontFamily("Courier New"), Padding = new Thickness(8), Width = 200, Height = 200,