nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01761
[Bug 794115] [NEW] HashSet incorrectly reported
Public bug reported:
Sample code
-----------------
[Test]
public void SomeTest()
{
var actual = new HashSet<string>(new[] {"foo", "bar"});
Assert.That(actual, Is.EquivalentTo(new[] { "fo__", "bar" }));
}
Reported as
-----------------
Expected: equivalent to < "fo__", "bar" >
But was: <System.Collections.Generic.HashSet`1[System.String]>
Expected being reported as:
---------------------------------------
Expected: equivalent to < "fo__", "bar" >
But was: < "foo", "bar" >
Environment
-----------------
NUnit version 2.5.9.10348
** Affects: nunitv2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/794115
Title:
HashSet incorrectly reported
Status in NUnit V2 Test Framework:
New
Bug description:
Sample code
-----------------
[Test]
public void SomeTest()
{
var actual = new HashSet<string>(new[] {"foo", "bar"});
Assert.That(actual, Is.EquivalentTo(new[] { "fo__", "bar" }));
}
Reported as
-----------------
Expected: equivalent to < "fo__", "bar" >
But was: <System.Collections.Generic.HashSet`1[System.String]>
Expected being reported as:
---------------------------------------
Expected: equivalent to < "fo__", "bar" >
But was: < "foo", "bar" >
Environment
-----------------
NUnit version 2.5.9.10348
Follow ups
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2013-10-05
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-12-07
-
[Bug 794115] Re: HashSet incorrectly reported
From: Launchpad Bug Tracker, 2011-12-07
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-12-07
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-11-26
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-11-20
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-11-20
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-11-04
-
[Bug 794115] Re: HashSet incorrectly reported
From: Launchpad Bug Tracker, 2011-10-20
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-10-20
-
[Bug 794115] Re: HashSet incorrectly reported
From: Charlie Poole, 2011-08-29
-
[Bug 794115] [NEW] HashSet incorrectly reported
From: Wernight, 2011-06-07
References