Browse Source

Fix failing tests.

This class was registering a global attached property which affected other tests.
pull/1499/head
Steven Kirk 8 years ago
parent
commit
b02ad2be48
  1. 2
      tests/Avalonia.Base.UnitTests/AvaloniaObjectTests_Attached.cs

2
tests/Avalonia.Base.UnitTests/AvaloniaObjectTests_Attached.cs

@ -27,7 +27,7 @@ namespace Avalonia.Base.UnitTests
private class Class1 : AvaloniaObject
{
public static readonly AttachedProperty<string> FooProperty =
AvaloniaProperty.RegisterAttached<Class1, AvaloniaObject, string>(
AvaloniaProperty.RegisterAttached<Class1, Class2, string>(
"Foo",
"foodefault",
validate: ValidateFoo);

Loading…
Cancel
Save