Index: sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
diff --git a/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart b/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
index 3b9b534ebd3b03db1970001e04323bb45c916573..f93c6fc35c41328600587d2c3f119fa3c521ef84 100644 |
--- a/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
+++ b/sdk/lib/_internal/dartdoc/test/dartdoc_test.dart |
@@ -146,7 +146,7 @@ Future _runDartdoc(List<String> arguments, {int exitCode: 0}) { |
var dartdoc = 'bin/dartdoc.dart'; |
arguments.insertRange(0, 1, dartdoc); |
return Process.run(dartBin, arguments) |
- .transform((result) { |
+ .then((result) { |
expect(result.exitCode, exitCode); |
}); |
} |