Skip to content

Commit

Permalink
Fixed unittest to do a AreSame check on the return value.
Browse files Browse the repository at this point in the history
git-svn-id: http://moq.googlecode.com/svn/trunk@37 b33fba48-7441-0410-8d5c-f397f7ceaa6c
  • Loading branch information
kzu.net committed Jan 2, 2008
1 parent 14b2a23 commit 1229526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnitTests/MockFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void ShouldExpectCallReturn()

mock.Expect(x => x.Clone()).Returns(clone);

Assert.AreEqual(clone, mock.Object.Clone());
Assert.AreSame(clone, mock.Object.Clone());
}

[Test]
Expand Down

0 comments on commit 1229526

Please sign in to comment.