Index: test/runner/runner_test.dart |
diff --git a/test/runner/runner_test.dart b/test/runner/runner_test.dart |
index 10d64ad94cdc765d276d3cf494ed37876cc37f88..d717b671d62247cc2ec7add3102b85ca989c50f9 100644 |
--- a/test/runner/runner_test.dart |
+++ b/test/runner/runner_test.dart |
@@ -286,6 +286,15 @@ $_usage""")); |
]); |
expect(result.stdout, contains("All tests passed!")); |
}); |
+ |
+ // Regression test; this broke in 0.12.0-beta.9. |
+ test("on a file in a subdirectory", () { |
+ new Directory(p.join(_sandbox, "dir")).createSync(); |
+ new File(p.join(_sandbox, "dir", "test.dart")) |
+ .writeAsStringSync(_success); |
+ var result = _runUnittest(["dir/test.dart"]); |
+ expect(result.exitCode, equals(0)); |
+ }); |
}); |
group("runs failing tests", () { |