mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[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>
This commit is contained in:
parent
64fe77f8db
commit
70c186dc37
|
@ -57,7 +57,7 @@ void main() {
|
||||||
|
|
||||||
expect(output, contains('providing this information'));
|
expect(output, contains('providing this information'));
|
||||||
expect(output, contains('## Process info'));
|
expect(output, contains('## Process info'));
|
||||||
expect(output, contains('| Memory'));
|
expect(output, contains('Memory |')); // Header is aligned right.
|
||||||
expect(output, contains('| dart '));
|
expect(output, contains('| dart '));
|
||||||
});
|
});
|
||||||
}, timeout: longTimeout);
|
}, timeout: longTimeout);
|
||||||
|
|
Loading…
Reference in a new issue