We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d45cc0 commit 1ce4437Copy full SHA for 1ce4437
spec/drupol/phptree/Importer/TextSpec.php
@@ -13,7 +13,7 @@ class TextSpec extends ObjectBehavior
13
{
14
public function it_can_import()
15
16
- $string = '[root [A [C [G] [H]] [D [I] [J]]] [B [E] [F]]]';
+ $string = '[root[A[C[G][H]][D[I][J]]][B[E][F]]]';
17
18
$tree = new ValueNode('root', 2);
19
@@ -41,7 +41,7 @@ public function it_can_import()
41
$this
42
->import($string)
43
->getValue()
44
- ->shouldReturn('root ');
+ ->shouldReturn('root');
45
}
46
47
public function it_can_throw_an_error_when_cannot_import()
0 commit comments