Skip to content

Commit

Permalink
Remove redundant escape characters (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis authored Jun 22, 2024
1 parent 8611bf3 commit 7e8383a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/FlowchartTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function testComplexGraph(): void
->addLink(new Link($nodeB, $nodeC))
->addLink(new Link($nodeC, $nodeD, 'A double quote:"'))
->addLink(new Link($nodeC, $nodeE, 'A dec char:♥'))
->addLink(new Link($nodeA, $nodeB, ' Link text<br>/\\!@#$%^&*()_+><\' " '));
->addLink(new Link($nodeA, $nodeB, ' Link text<br>/\!@#$%^&*()_+><\' " '));

$subGraph2
->addNode($alone = new Node('alone', 'Alone'))
Expand Down Expand Up @@ -218,7 +218,7 @@ public function testComplexGraphSafeMode(): void
->addLink(new Link($nodeB, $nodeC))
->addLink(new Link($nodeC, $nodeD, 'A double quote:"'))
->addLink(new Link($nodeC, $nodeE, 'A dec char:♥'))
->addLink(new Link($nodeA, $nodeB, ' Link text<br>/\\!@#$%^&*()_+><\' " '));
->addLink(new Link($nodeA, $nodeB, ' Link text<br>/\!@#$%^&*()_+><\' " '));

$subGraph2
->addNode($alone = new Node('alone', 'Alone'))
Expand Down Expand Up @@ -502,7 +502,7 @@ public function testCheckReadmeExample(): void
->addLink(new Link($nodeB, $nodeC))
->addLink(new Link($nodeC, $nodeD, 'A double quote:"'))
->addLink(new Link($nodeC, $nodeE, 'A dec char:♥'))
->addLink(new Link($nodeA, $nodeB, ' Link text<br>/\\!@#$%^&*()_+><\' " '));
->addLink(new Link($nodeA, $nodeB, ' Link text<br>/\!@#$%^&*()_+><\' " '));

$subGraph2
->addNode($alone = new Node('alone', 'Alone'))
Expand Down

0 comments on commit 7e8383a

Please sign in to comment.