ionide / ionide/ionide-vscode-fsharp
Expecto tests with a `+` in the name create an indented result in the test explorer
- Dominant language
- F#
- Stars
- 897
- Forks
- 297
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
### Describe the bug
I have a test named `1 + 1 = 2` with Expecto and here is how it appear in the test explorer view:

### Steps to reproduce
1. Create a test list with the following code
```fs
[]
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.
Contributor guide
Research direction
Run the provided F# Expecto reproduction with the test named `1 + 1 = 2`, then trace how the test explorer parses and displays that name. Done means the test appears as one result without an indented second line; verify this against the reproduction in the VS Code test explorer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp, vscode
- Domain
- devtools, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100