[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:
Nicholas Shahan 2022-10-04 23:47:59 +00:00 committed by Commit Queue
parent 348a3a2d2d
commit 76b615b80d

View file

@ -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]);
}