Skip to content

Remove StringUtil.Compare() and update references in the tests #4819

@stevenaw

Description

@stevenaw

The StringUtil.Compare() function is public but lives in the "Internal" namespace. It isn't actually used in any constraints, but there are three references in the tests still to it. A comment on the class indicates that

Provides methods to support legacy string comparison methods.

I'd like to propose we begin the process of removing this. I think we can convert the test usage already but I'd like to suggest we mark the method itself as obsolete rather than outright removal even though it's in the internal namespace to maximize others' chance to move away from it.

@nunit/framework-team I think this could be a good first issue if we can agree on if we should obsolete or remove outright

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions