Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Unified Diff: tests/isolate/browser/compute_this_script_browser_test.dart

Issue 218273002: Upgrading tests with unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/isolate/browser/compute_this_script_browser_test.dart
diff --git a/tests/isolate/browser/compute_this_script_browser_test.dart b/tests/isolate/browser/compute_this_script_browser_test.dart
index 63a886d35db64b4230968a3e9f956c91c3efd2e6..b7464fc9a855fd51b1cea68ab3c5f120c50be00b 100644
--- a/tests/isolate/browser/compute_this_script_browser_test.dart
+++ b/tests/isolate/browser/compute_this_script_browser_test.dart
@@ -26,7 +26,7 @@ void main([args, port]) {
document.body.append(script);
test('spawn with other script tags in page', () {
ReceivePort port = new ReceivePort();
- port.listen(expectAsync1((msg) {
+ port.listen(expectAsync((msg) {
expect(msg, equals('re: hi'));
port.close();
}));

Powered by Google App Engine
This is Rietveld 408576698