瀏覽代碼

Fixed class name after merge

Anatoly Pulyaevskiy 6 年之前
父節點
當前提交
252a53809f
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      packages/zefyr/test/rendering/render_editable_proxy_box_test.dart

+ 3
- 3
packages/zefyr/test/rendering/render_editable_proxy_box_test.dart 查看文件

@@ -23,14 +23,14 @@ void main() {
23 23
     setUp(() {
24 24
       WidgetsFlutterBinding.ensureInitialized();
25 25
       renderContext = ZefyrRenderContext();
26
-      final rt = RenderEditableParagraph(
26
+      final rt = RenderZefyrParagraph(
27 27
         text,
28
-        node: doc.root.children.first,
28
+        node: doc.root.children.first as LineNode,
29 29
         textDirection: TextDirection.ltr,
30 30
       );
31 31
       p = RenderEditableProxyBox(
32 32
         child: rt,
33
-        node: doc.root.children.first,
33
+        node: doc.root.children.first as LineNode,
34 34
         layerLink: LayerLink(),
35 35
         renderContext: renderContext,
36 36
         showCursor: ValueNotifier<bool>(true),