Skip to content

Windows CI Test Error: An escape sequence starting with '\u' must be followed by 4 hexadecimal digits. #2176

Description

@buenaflor

Environment: Github Actions
Dart SDK: version 3.2.5, stable
OS: Windows

Steps to reproduce

  • Create a folder that starts with u in the test folder. e.g utils so it looks something like test/utils/my_test.dart
    • Or create a test file that starts with u. e.g unsupported_throwables_test.dart
  • Run a test on windows-latest with GH actions
dart test -p chrome --test-randomize-ordering-seed=random --chain-stack-traces
# or
dart test -p vm  --test-randomize-ordering-seed=random --chain-stack-traces
  • Receive error:
/C:/Users/runneradmin/AppData/Local/Temp/dart_test_2615570/runInBrowser.dart:8:61:
Error: An escape sequence starting with '\u' must be followed by 4 hexadecimal digits.
          dom.window.console.log('Startup for test path test\unsupported_throwables_test.dart');

or

/C:/Users/runneradmin/AppData/Local/Temp/dart_test_74c18bb9/runInBrowser.dart:8:61:
Error: An escape sequence starting with '\u' must be followed by 4 hexadecimal digits.
          dom.window.console.log('Startup for test path test\utils\http_header_utils_test.dart');

Link to error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions