From 70c186dc37e4d7293d79d978f8d692ae5e4cd38f Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Wed, 12 Jul 2023 16:04:38 +0000 Subject: [PATCH] [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 Auto-Submit: Daco Harkes Commit-Queue: Daco Harkes --- pkg/dartdev/test/commands/info_macos_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/dartdev/test/commands/info_macos_test.dart b/pkg/dartdev/test/commands/info_macos_test.dart index 4e44e68ef7a..4dda9fbc945 100644 --- a/pkg/dartdev/test/commands/info_macos_test.dart +++ b/pkg/dartdev/test/commands/info_macos_test.dart @@ -57,7 +57,7 @@ void main() { 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);