Skip to content

Commit

Permalink
Remove uneeded test from #184
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sampson committed Oct 26, 2017
1 parent 027961f commit e8e1803
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Caliburn.Micro.Tests.NET45/ScopeNamingRouteTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,6 @@ public void CannotAddDisjointHops()
Assert.Throws<ArgumentException>(() => route.AddHop(d3, d4));
}

[Fact]
public void RootMustBePartOfPathIfAnyHops()
{
var route = new BindingScope.ScopeNamingRoute();
var d1 = new DependencyObject();
var d2 = new DependencyObject();

route.AddHop(d1, d2);
Assert.Throws<ArgumentException>(() => route.Root = new DependencyObject());
}

[Fact]
public void RootCanBeSetIfNoHops()
{
Expand Down

0 comments on commit e8e1803

Please sign in to comment.