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

Minor issue with parentheses in test names #315

Closed
alekdavis opened this issue Jul 30, 2024 · 1 comment
Closed

Minor issue with parentheses in test names #315

alekdavis opened this issue Jul 30, 2024 · 1 comment

Comments

@alekdavis
Copy link

If you create a test name that ends with parenthesized text and then you change the name by removing parentheses by backspacing, the left parenthesis remains in the view until you restart VSCode.

To duplicate, create a test with name # @name test (this and that)
image

Then just use the backspace key to remove all parenthesized text including poth parentheses, but it will still show the left parenthesis in the Testing view:
image

You will need to restart VSCode to have the Testing view show the updated name without the left parenthesis.

A really minor issue, but I once spent a few minutes messing with it and trying to understand what is going on.

@AnWeber
Copy link
Owner

AnWeber commented Jul 30, 2024

That's a good one. I had a cache and the label was not updated on hits from the cache. But the cache usually didn't work because the name was included in the cache, except when only special characters were changed.

@AnWeber AnWeber closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants