Skip to content

Commit

Permalink
Fix type argument for Result.
Browse files Browse the repository at this point in the history
R=ahe@google.com, paulberry@google.com
BUG=

Review-Url: https://codereview.chromium.org/2920283002 .
  • Loading branch information
scheglov committed Jun 5, 2017
1 parent 5850122 commit 64ed9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testing/lib/src/stdio_process.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class StdioProcess {
if (exitCode == expected) {
return new Result<int>.pass(exitCode);
} else {
return new Result<Program>(
return new Result<int>(
exitCode, ExpectationSet.Default["RuntimeError"], output, null);
}
}
Expand Down

0 comments on commit 64ed9c9

Please sign in to comment.