Skip to content

Expecto tests with a + in the name create an indented result in the test explorer #2007

Open
@MangelMaxime

Description

@MangelMaxime

Describe the bug

I have a test named 1 + 1 = 2 with Expecto and here is how it appear in the test explorer view:

CleanShot 2024-04-29 at 15 18 50

Steps to reproduce

  1. Create a test list with the following code

    [<Tests>]
    let tests =
        testList "All" [
            test "1 + 1 = 2" {
                let actual = 1 + 1
                Expect.equal actual 2
            }
        ]
  2. Open the test explorer view

Link to sample reproduction

Expected behaviour

Should not split the test in 2 lines.

Screenshots

Machine info

  • OS: Mac
  • .NET SDK version: [e.g. 5.0.100]8.0.204
  • Ionide version: [e.g 5.0.1, don't use descriptions like latest ]: 7.19.1

Additional context

Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions