Skip to content

Commit

Permalink
fix remove component with children test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arokip committed Jul 16, 2021
1 parent b129bf6 commit 1944249
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

# 0.0.10

* Fix remove component with children test.

# 0.0.9

* Add documentation comments to reader/writer
Expand Down
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.6.1"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -113,7 +113,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0"
version: "1.8.1"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -148,7 +148,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19"
version: "0.3.0"
typed_data:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: diagram_editor
description: A flutter diagram editor library that provides DiagramEditor widget and a possibility to customize all editor design and behavior.
version: 0.0.9
version: 0.0.10
homepage: https://github.com/Arokip/fdl

environment:
Expand Down
2 changes: 1 addition & 1 deletion test/src/widget/canvas_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void main() {

String id1 = policySet.canvasWriter.model.addComponent(componentData);
String id2 = policySet.canvasWriter.model.addComponent(componentData2);
policySet.canvasReader.model.getComponent(id1).addChild(id2);
policySet.canvasWriter.model.setComponentParent(id2, id1);

await tester.pump();

Expand Down

0 comments on commit 1944249

Please sign in to comment.