Skip to content
Snippets Groups Projects
Commit 722030f4 authored by floitsch@google.com's avatar floitsch@google.com Committed by Natalie Weizenbaum
Browse files

Address comment from CL 14993002.

R=nweiz@google.com

Review URL: https://codereview.chromium.org//16950010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@24000 260f80e4-7a28-3924-810f-c04153c831b5
parent 03230544
No related branches found
No related tags found
No related merge requests found
......@@ -64,13 +64,13 @@ main() {
"been called", () {
completer.complete('value');
completer.future.then(expectAsync1((_) {
expect(() => errorGroup.registerFuture(new Future.value()),
expect(completer.future
.then((_) => errorGroup.registerFuture(new Future.value())),
throwsStateError);
expect(completer.future
.then((_) => errorGroup.registerStream(
new StreamController(sync: true).stream)),
throwsStateError);
expect(() => errorGroup.registerStream(
new StreamController(sync: true).stream),
throwsStateError);
}));
});
test('should pass through an exception from the future if it has a '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment