Skip to content

Commit 3550f18

Browse files
committed
Update test concatenation of multiple field lines
1 parent 3c71a40 commit 3550f18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ParsingRulesetTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testParsing(Rule $record): void
3131
}
3232

3333
try {
34-
$raw = implode(',', $record->raw);
34+
$raw = implode(', ', $record->raw);
3535
$parsedValue = Parser::{'parse' . ucfirst($record->header_type)}($raw);
3636

3737
if ($record->must_fail) {

tests/SerializingRulesetTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testSerializing(Rule $record): void
3838
}
3939

4040
$this->assertEquals(
41-
implode(',', $record->canonical ?? $record->raw),
41+
implode(', ', $record->canonical ?? $record->raw),
4242
$serializedValue,
4343
'"' . $record->name . '" was not serialized to expected value'
4444
);

0 commit comments

Comments
 (0)