Skip to content

Commit

Permalink
Add in missing NUnit shim for XUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Dec 13, 2013
1 parent 6b0f1c9 commit fae9675
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ReactiveUI.Tests/NUnitShim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ public static void NotEqual<T>(T lhs, T rhs)
N.Assert.AreNotEqual(lhs, rhs);
}

public static void Same(object lhs, object rhs)
{
N.Assert.AreSame(lhs, rhs);
}

public static void Throws<T>(Action block) where T : Exception
{
bool didntThrow = true;
Expand Down

0 comments on commit fae9675

Please sign in to comment.