Closed
Description
Describe the bug
If I put two backticks in my Test Description and try to run it with the Dart & Flutter VsCode Extensions I get the following output:
No tests match regular expression "^( \(variant: .*\))?$".
Interesting fact:
If I press the run button of the main()
Function which is surrounding the Test the error doesnt occur
To Reproduce
Steps to reproduce the behavior:
- Create a Test File and paste the test:
import 'package:flutter_test/flutter_test.dart';
void main() {
test('`echo`', () {
expect(1, 1);
});
}
- VsCode should now you two
Run | Debug
Buttons. One over themain
and and one over thetest
. Press the Run Button over the Test.
Expected behavior
I expect that the Run
Button over test will behave like the Run
over the main function and that backticks don't cause Reg Ex Errors
Please complete the following information:
- Operating System and version: Ventura 13.0.1
- VS Code version: 1.75.0
- Dart extension version: v3.58.0
- Dart/Flutter SDK version: Dart 2.19.0 / Flutter 3.7.0
- Target device (if the issue relates to Flutter debugging):