@@ -46,7 +46,7 @@ Future<void> main(List<String> args) async {
4646 final result = await Process .run (dart, [dillPath, '--child' ]);
4747 Expect .equals ('' , result.stderr);
4848 Expect .equals (0 , result.exitCode);
49- Expect .equals ('Hello, SDK Hash!\n ' , result.stdout);
49+ Expect .equals ('Hello, SDK Hash!' , result.stdout. trim () );
5050 }
5151
5252 // Invalidate the SDK hash in the kernel dill:
@@ -65,7 +65,7 @@ Future<void> main(List<String> args) async {
6565 {
6666 final result = await Process .run (dart, [dillPath, '--child' ]);
6767 Expect .equals (
68- 'Can\' t load Kernel binary: Invalid SDK hash.\n ' , result.stderr);
68+ 'Can\' t load Kernel binary: Invalid SDK hash.' , result.stderr. trim () );
6969 Expect .equals (253 , result.exitCode);
7070 Expect .equals ('' , result.stdout);
7171 }
@@ -82,7 +82,7 @@ Future<void> main(List<String> args) async {
8282 final result = await Process .run (dart, [dillPath, '--child' ]);
8383 Expect .equals ('' , result.stderr);
8484 Expect .equals (0 , result.exitCode);
85- Expect .equals ('Hello, SDK Hash!\n ' , result.stdout);
85+ Expect .equals ('Hello, SDK Hash!' , result.stdout. trim () );
8686 }
8787 });
8888}
0 commit comments