Index: client/tests/client/dom/CanvasTest.dart |
diff --git a/client/tests/client/dom/CanvasTest.dart b/client/tests/client/dom/CanvasTest.dart |
index eb5621765855b5733780697a619964bc98d76ca1..5a4293326a0e387108dc37a761dfcfc10ed83643 100644 |
--- a/client/tests/client/dom/CanvasTest.dart |
+++ b/client/tests/client/dom/CanvasTest.dart |
@@ -1,5 +1,6 @@ |
#library('CanvasTest'); |
-#import('../../../../lib/unittest/unittest_dom.dart'); |
+#import('../../../../lib/unittest/unittest.dart'); |
+#import('../../../../lib/unittest/dom_config.dart'); |
#import('dart:dom'); |
main() { |
@@ -15,7 +16,7 @@ main() { |
context = canvas.getContext('2d'); |
- forLayoutTests(); |
+ useDomConfiguration(); |
test('FillStyle', () { |
context.fillStyle = "red"; |
context.fillRect(10, 10, 20, 20); |