| Index: tests/standalone/io/test_runner_test.dart
|
| ===================================================================
|
| --- tests/standalone/io/test_runner_test.dart (revision 28411)
|
| +++ tests/standalone/io/test_runner_test.dart (working copy)
|
| @@ -24,10 +24,22 @@
|
| numCompletedTests++;
|
| if (testCase.displayName == "fail-unexpected") {
|
| if (!testCase.unexpectedOutput) {
|
| - throw "Expected fail-unexpected";
|
| + var stdout =
|
| + new String.fromCharCodes(testCase.lastCommandOutput.stdout);
|
| + var stderr =
|
| + new String.fromCharCodes(testCase.lastCommandOutput.stderr);
|
| + print("stdout = [$stdout]");
|
| + print("stderr = [$stderr]");
|
| + throw "Expected fail-unexpected: ${testCase.result}";
|
| }
|
| } else {
|
| if (testCase.unexpectedOutput) {
|
| + var stdout =
|
| + new String.fromCharCodes(testCase.lastCommandOutput.stdout);
|
| + var stderr =
|
| + new String.fromCharCodes(testCase.lastCommandOutput.stderr);
|
| + print("stdout = [$stdout]");
|
| + print("stderr = [$stderr]");
|
| throw "Unexpected fail";
|
| }
|
| }
|
|
|