Browse Source

Fix failing tests.

This class was registering a global attached property which affected other tests.
pull/1499/head
Steven Kirk 9 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 private class Class1 : AvaloniaObject
{ {
public static readonly AttachedProperty<string> FooProperty = public static readonly AttachedProperty<string> FooProperty =
AvaloniaProperty.RegisterAttached<Class1, AvaloniaObject, string>( AvaloniaProperty.RegisterAttached<Class1, Class2, string>(
"Foo", "Foo",
"foodefault", "foodefault",
validate: ValidateFoo); validate: ValidateFoo);

Loading…
Cancel
Save