mrverdant13 · GitHub

Description

Some test descriptions that include double quotes result in parsing issues that blocks the execution of the actual test.

How to reproduce

Case 1

Enclosing double quotes with a wrapped content that starts with a >.

test('version is ">={version}', () {
  // My test
});
test('version is "> something"', () {
  // My test
});

Output:

image

Case 2

Single " char followed by a > char (without closing the quotes).

test('version is "> something', () {
  // My test
});

Output:

image

Expected behaviour

The tests descriptions are expected to be parsed and the underlying test to be run.

More context

  • OS: Windows 11
  • VS Code version: 1.65.0
  • Dart extension version: v3.36.0
  • Dart/Flutter SDK version: 2.16.1

Read the original on github.com ↗