mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
[test] Fix expected and actual ordering
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>
This commit is contained in:
parent
348a3a2d2d
commit
76b615b80d
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ import 'package:expect/expect.dart';
|
|||
const Map<Key, String> m = {someKey: "PASSED"};
|
||||
|
||||
main() {
|
||||
Expect.equals(m[someKey], "PASSED");
|
||||
Expect.equals("PASSED", m[someKey]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue