Skip to content

Commit 7203302

Browse files
committed
Fix failing test.
1 parent a43d131 commit 7203302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/PartitionDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public static function build($component, array $options = array())
201201
return "(\n" . implode(",\n", $component) . "\n)";
202202
} else {
203203
if ($component->isSubpartition) {
204-
return 'SUBPARTITION ' . $component->name . ' ' . $component->options;
204+
return trim('SUBPARTITION ' . $component->name . ' ' . $component->options);
205205
} else {
206206
$subpartitions = empty($component->subpartitions)
207207
? '' : ' ' . PartitionDefinition::build($component->subpartitions);

0 commit comments

Comments
 (0)