Browse Source

fix build for resource tests

Andrey Kunchev 8 years ago
parent
commit
245992abc6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/Avalonia.Styling.UnitTests/ResourceTests.cs

+ 4 - 4
tests/Avalonia.Styling.UnitTests/ResourceTests.cs

@@ -20,7 +20,7 @@ namespace Avalonia.Styling.UnitTests
                 {
                     new Style
                     {
-                        Resources = new Dictionary<string, object>
+                        Resources = new StyleResources
                         {
                             { "Foo", "foo resource" },
                             { "Bar", "overridden" },
@@ -33,14 +33,14 @@ namespace Avalonia.Styling.UnitTests
                     {
                         new Style
                         {
-                            Resources = new Dictionary<string, object>
+                            Resources = new StyleResources
                             {
                                 { "Bar", "again overridden" },
                             }
                         },
                         new Style
                         {
-                            Resources = new Dictionary<string, object>
+                            Resources = new StyleResources
                             {
                                 { "Bar", "bar resource" },
                             }
@@ -64,7 +64,7 @@ namespace Avalonia.Styling.UnitTests
                     {
                         new Style
                         {
-                            Resources = new Dictionary<string, object>
+                            Resources = new StyleResources
                             {
                                 { "Foo", "foo" },
                             }