mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 03:13:14 +00:00
76b615b80d
Not a big deal but I was confused for longer than I would like to admit because the failure message labels the "expected" and "actual" values as such. Change-Id: I433d263b873286a54725b7a2a0ba536dd29aae47 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262664 Reviewed-by: Mayank Patke <fishythefish@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
9 lines
159 B
Dart
9 lines
159 B
Dart
import 'others.dart';
|
|
import 'package:expect/expect.dart';
|
|
|
|
const Map<Key, String> m = {someKey: "PASSED"};
|
|
|
|
main() {
|
|
Expect.equals("PASSED", m[someKey]);
|
|
}
|