Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerDarren committed Aug 12, 2023
1 parent 31cbf2a commit d47bb11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions test/model/graph_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ void main() {
fdg.addNode(nodeB);
fdg.addNode(nodeC);


fdg.addEdge(nodeA.connect(nodeB));
fdg.addEdge(nodeA.connect(nodeC));
fdg.addEdge(nodeB.connect(nodeC));
Expand Down Expand Up @@ -153,5 +152,4 @@ class _TestModel {

@override
int get hashCode => id.hashCode;

}
3 changes: 2 additions & 1 deletion test/model/node_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ void main() {
} on Exception catch (e) {
hasCatch = true;
expect(e, isA<Exception>());
expect(e.toString(), contains("Cannot create edge between the same node"));
expect(
e.toString(), contains("Cannot create edge between the same node"));
}
expect(hasCatch, true);
});
Expand Down

0 comments on commit d47bb11

Please sign in to comment.