Public bug reported: 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. ** Affects: nunit-3.0 Importance: High Status: Triaged ** Affects: nunitlite Importance: High Assignee: Charlie Poole (charlie.poole) Status: In Progress ** Affects: nunitv2 Importance: High Status: Triaged ** Also affects: nunit-3.0 Importance: Undecided Status: New ** Also affects: nunitlite Importance: Undecided Status: New ** Changed in: nunit-3.0 Status: New => Triaged ** Changed in: nunitlite Status: New => Triaged ** Changed in: nunitv2 Status: New => Triaged ** Changed in: nunitlite Status: Triaged => In Progress ** Changed in: nunit-3.0 Importance: Undecided => High ** Changed in: nunitlite Importance: Undecided => High ** Changed in: nunitv2 Importance: Undecided => High ** Changed in: nunitlite Assignee: (unassigned) => Charlie Poole (charlie.poole) ** Changed in: nunitlite Milestone: None => 0.9 -- 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: Triaged Status in NUnitLite Testing Framework: In Progress Status in NUnit V2 Test Framework: Triaged 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 _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp