Chromium Code Reviews| Index: tests/dom/canvas_test.dart |
| =================================================================== |
| --- tests/dom/canvas_test.dart (revision 8292) |
| +++ tests/dom/canvas_test.dart (working copy) |
| @@ -34,7 +34,7 @@ |
| gradient.addColorStop(1,'blue'); |
| context.fillStyle = gradient; |
| context.fillRect(0, 0, 20, 20); |
| - expect(context.fillStyle is CanvasGradient).isTrue(); |
| + expect(context.fillStyle is CanvasGradient, isTrue()); |
|
Siggi Cherem (dart-lang)
2012/06/06 00:26:08
isTrue() => isTrue (remove extra parenthesis)
gram
2012/06/06 16:23:56
Done.
|
| }); |
| test('SetFillColor', () { |
| // With floats. |