Chromium Code Reviews| Index: tests/standalone/io/test_runner_test.dart |
| diff --git a/tests/standalone/io/test_runner_test.dart b/tests/standalone/io/test_runner_test.dart |
| index 61e762b091a445bc1abe7c9626a6db3a3e72ef65..5c94cc1cc47f17ebc8bfbcf56b47350f38d6ba6f 100644 |
| --- a/tests/standalone/io/test_runner_test.dart |
| +++ b/tests/standalone/io/test_runner_test.dart |
| @@ -30,7 +30,8 @@ class TestController { |
| new String.fromCharCodes(testCase.lastCommandOutput.stderr); |
| print("stdout = [$stdout]"); |
| print("stderr = [$stderr]"); |
| - throw "Expected fail-unexpected: ${testCase.result}"; |
| + throw "Test case ${testCase.displayName} passed unexpectedly, " |
| + "result == ${testCase.result}"; |
|
kustermann
2014/06/16 08:26:29
Indentation.
|
| } |
| } else { |
| if (testCase.unexpectedOutput) { |
| @@ -40,7 +41,8 @@ class TestController { |
| new String.fromCharCodes(testCase.lastCommandOutput.stderr); |
| print("stdout = [$stdout]"); |
| print("stderr = [$stderr]"); |
| - throw "Unexpected fail"; |
| + throw "Test case ${testCase.displayName} failed, " |
| + "result == ${testCase.result}"; |
|
kustermann
2014/06/16 08:26:29
ditto.
|
| } |
| } |
| } |