Skip to content

VsTestScenarioOutlineExampleMatcher fails to match on examples with comma in the first column #543

@psoszynski

Description

@psoszynski

Adding ".Replace(",", String.Empty)" to:

        var matchValue = exampleValues[0]
            .Replace(" ", string.Empty)
            .Replace(":", string.Empty)
            .Replace("\\", string.Empty)
            .Replace("(", string.Empty)
            .Replace(")", string.Empty)
            .Replace(".", "_")
            .Replace("!", string.Empty)
            .Replace("&", string.Empty)
            .ToUpperInvariant()
            .Replace("Ä", "A")
            .Replace("Ö", "O")
            .Replace("Ü", "U")
            .Replace("ß", "B")
            .Replace("æ", "ae")
            .Replace('ø', 'o')
            .Replace('å', 'a')
            .Replace("Æ", "AE")
            .Replace('Ø', 'O')
            .Replace('Å', 'A');

fixes the problem. Shall I create pull request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions