| commit | 70c186dc37e4d7293d79d978f8d692ae5e4cd38f | [log] [tgz] |
|---|---|---|
| author | Daco Harkes <dacoharkes@google.com> | Wed Jul 12 16:04:38 2023 +0000 |
| committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 12 16:04:38 2023 +0000 |
| tree | 13ec756a955b2116a4952f10352d991fdb76043b | |
| parent | 64fe77f8db9b4ec1777c52b7ab71a0c930f94e4d [diff] |
[gardening][pkg] Fix test expects The Memory column is right aligned, and we can have large memory values. `'| Memory | CPU | Elapsed time | ...` Closes: https://github.com/dart-lang/sdk/issues/52915 Change-Id: I47c836ca85109bfa99e293c5c955c416c0f4067d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313382 Reviewed-by: Martin Kustermann <kustermann@google.com> Auto-Submit: Daco Harkes <dacoharkes@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
diff --git a/pkg/dartdev/test/commands/info_macos_test.dart b/pkg/dartdev/test/commands/info_macos_test.dart index 4e44e68..4dda9fb 100644 --- a/pkg/dartdev/test/commands/info_macos_test.dart +++ b/pkg/dartdev/test/commands/info_macos_test.dart
@@ -57,7 +57,7 @@ expect(output, contains('providing this information')); expect(output, contains('## Process info')); - expect(output, contains('| Memory')); + expect(output, contains('Memory |')); // Header is aligned right. expect(output, contains('| dart ')); }); }, timeout: longTimeout);