Skip to content

Commit 1ce4437

Browse files
committed
Update tests of Text importer.
1 parent 1d45cc0 commit 1ce4437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/drupol/phptree/Importer/TextSpec.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TextSpec extends ObjectBehavior
1313
{
1414
public function it_can_import()
1515
{
16-
$string = '[root [A [C [G] [H]] [D [I] [J]]] [B [E] [F]]]';
16+
$string = '[root[A[C[G][H]][D[I][J]]][B[E][F]]]';
1717

1818
$tree = new ValueNode('root', 2);
1919

@@ -41,7 +41,7 @@ public function it_can_import()
4141
$this
4242
->import($string)
4343
->getValue()
44-
->shouldReturn('root ');
44+
->shouldReturn('root');
4545
}
4646

4747
public function it_can_throw_an_error_when_cannot_import()

0 commit comments

Comments
 (0)