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

Unified Diff: tests/isolate/mandel_isolate_test.dart

Issue 10441104: New expectation functions plus convert old tests to use these. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « tests/html/typed_arrays_range_checks_test.dart ('k') | tests/isolate/mint_maker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/mandel_isolate_test.dart
===================================================================
--- tests/isolate/mandel_isolate_test.dart (revision 8345)
+++ tests/isolate/mandel_isolate_test.dart (working copy)
@@ -14,7 +14,7 @@
test("Render Mandelbrot in parallel", () {
final state = new MandelbrotState();
state._validated.future.then(expectAsync1((result) {
- expect(result).isTrue();
+ expect(result, isTrue);
}));
for (int i = 0; i < Math.min(ISOLATES, N); i++) state.startClient(i);
});
« no previous file with comments | « tests/html/typed_arrays_range_checks_test.dart ('k') | tests/isolate/mint_maker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698