Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MangelMaxime opened this issue Apr 29, 2024 · 0 comments
Labels

Comments

@MangelMaxime
Copy link
Contributor

MangelMaxime commented Apr 29, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants