Index: tests/isolate/mint_maker_test.dart |
diff --git a/tests/isolate/mint_maker_test.dart b/tests/isolate/mint_maker_test.dart |
index 60b430ffc53efdee607a88386c84ddfa52fd1580..fa200fcfd9541eb7b165a171a513897e9578c13d 100644 |
--- a/tests/isolate/mint_maker_test.dart |
+++ b/tests/isolate/mint_maker_test.dart |
@@ -150,7 +150,7 @@ class MintMakerWrapper { |
} |
_checkBalance(PurseWrapper wrapper, expected) { |
- wrapper.queryBalance(expectAsync1((int balance) { |
+ wrapper.queryBalance(expectAsync((int balance) { |
expect(balance, equals(expected)); |
})); |
} |
@@ -158,11 +158,11 @@ _checkBalance(PurseWrapper wrapper, expected) { |
void main([args, port]) { |
if (testRemote(main, port)) return; |
test("creating purse, deposit, and query balance", () { |
- MintMakerWrapper.create().then(expectAsync1((mintMaker) { |
- mintMaker.makeMint(expectAsync1((MintWrapper mint) { |
- mint.createPurse(100, expectAsync1((PurseWrapper purse) { |
+ MintMakerWrapper.create().then(expectAsync((mintMaker) { |
+ mintMaker.makeMint(expectAsync((MintWrapper mint) { |
+ mint.createPurse(100, expectAsync((PurseWrapper purse) { |
_checkBalance(purse, 100); |
- purse.sproutPurse(expectAsync1((PurseWrapper sprouted) { |
+ purse.sproutPurse(expectAsync((PurseWrapper sprouted) { |
_checkBalance(sprouted, 0); |
_checkBalance(purse, 100); |