Chromium Code Reviews| Index: tests/html/canvas_test.dart |
| =================================================================== |
| --- tests/html/canvas_test.dart (revision 8345) |
| +++ tests/html/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); |
| }); |
| test('SetFillColor', () { |
| // With floats. |