Skip to content

Tests with more than one newlines in names are not runnable from CodeLens links #4125

@jeff9315

Description

@jeff9315

No tests match regular expression " test & exit /B 0". #4007
#4007

This fails in Windows 11 using Dart Code 3.46.1

 test('''
    Given formType is signIn
    When signInWithEmailAndPassword succeeds
    Then return true
    And state is AsyncData
    ''', () async {

This succeeds

test('''
    Given formType is signIn When signInWithEmailAndPassword succeeds Then return true And state is AsyncData
    ''', () async {

The error is

No tests match regular expression "submit Given formType is signIn\n When signInWithEmailAndPassword succeeds & exit /B 0".

Metadata

Metadata

Assignees

No one assigned

    Labels

    in testingRelates to test execution of Dart/Flutter tests for end usersis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions