nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03525
[Bug 1071861] Re: Error in Path Constraints
** Changed in: nunit-3.0
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1071861
Title:
Error in Path Constraints
Status in NUnit Test Framework:
Fix Committed
Status in NUnitLite Testing Framework:
Fix Released
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
SamePathConstraint reports all of the following as being the same path
/path/to/assembly/
/path/to/assembly
path/to/assembly
//path/to/assembly
/path//to/assembly (invalid path, of course)
Only the first two should be equivalent
This is due to an error in the PathConstraint.Canonicalize method,
which disregards all "extra" separators, including those at the
beginning and the end of a path. Only an extra slash at the end of a
path should be ignored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/1071861/+subscriptions
References