[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);