Skip to content

Every test error gives a --chain-stack-traces warning #1505

Closed
@timsneath

Description

@timsneath

Using:
Dart SDK version: 2.13.0-211.6.beta (beta) (Wed Apr 14 13:59:12 2021 +0200) on "windows_x64"
and
test 1.17.1

and running dart test on my code, every failure gives a warning about this flag:

00:03 +35 -1: loading test\object_tests\structs_test.dart
Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'pub run test --chain-stack-traces'.
00:03 +57 -2: test\system_tokens_test.dart: Can find system token 0x0100001d [E]
  Expected: 'System.ValueType'
    Actual: 'Windows.Win32.Gdi.MODIFY_WORLD_TRANSFORM_MODE'
     Which: is different.
            Expected: System.Val ...
              Actual: Windows.Wi ...
                      ^
             Differ at offset 0

  package:test_api                   expect
  test\system_tokens_test.dart 10:5  main.<fn>

00:03 +57 -2: loading test\system_tokens_test.dart
Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'pub run test --chain-stack-traces'.
00:08 +179 -2: Some tests failed.

This is a regression compared to test 1.16.8, which does not give this warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions