Files
sdk/tests
Robert Nystrom cd519446b6 Fix the exhaustiveness language tests.
The implementations are doing the right thing, but the tests are
slightly off:

- The CFE doesn't report unreachable case warnings because they are
  non-fatal warnings, so remove those expectations. (But analyzer does,
  so continue to check that analyzer reports them.)

- The CFE reports shared case variable errors at a different location.

Change-Id: I7143a7705d3c8879fb91e5fdb8df8599bfb96165
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292520
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2023-04-01 01:32:56 +00:00
..
2023-03-30 14:02:38 +00:00
2022-12-19 12:56:47 +00:00

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.