mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:21:18 +00:00
[gardening] Use Platform.lineTerminator in remove_error_listener_test expectations.
Follow-up to https://dart.googlesource.com/sdk/+/088b178d9d464a3e89e6467dff37d80d4170e7fd Fixes https://github.com/dart-lang/sdk/issues/54007 TEST=ci Change-Id: I507de90fb46641af06890d052af0f8db29363473 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335326 Auto-Submit: Alexander Aprelev <aam@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
0ab26a7751
commit
e0751fb8aa
|
@ -16,8 +16,8 @@ void main(List<String> args) {
|
||||||
Platform.script.toFilePath(),
|
Platform.script.toFilePath(),
|
||||||
'child'
|
'child'
|
||||||
]);
|
]);
|
||||||
Expect.isTrue(
|
Expect.isTrue(result.stderr.contains(
|
||||||
result.stderr.contains("Unhandled exception:\nException: Oops!"));
|
"Unhandled exception:${Platform.lineTerminator}Exception: Oops!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,8 +18,8 @@ void main(List<String> args) {
|
||||||
Platform.script.toFilePath(),
|
Platform.script.toFilePath(),
|
||||||
'child'
|
'child'
|
||||||
]);
|
]);
|
||||||
Expect.isTrue(
|
Expect.isTrue(result.stderr.contains(
|
||||||
result.stderr.contains("Unhandled exception:\nException: Oops!"));
|
"Unhandled exception:${Platform.lineTerminator}Exception: Oops!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue