Skip to content

Commit f2da390

Browse files
committed
Fixed ConfigSettingTest::testAllWaysToSetConfig
1 parent 45d4b56 commit f2da390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ElasticApmTests/ComponentTests/ConfigSettingTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public static function appCodeForTestAllWaysToSetConfig(MixedMap $appCodeArgs):
348348
$optActualValuesToVerify += compact('optActualValueParsedByNativePart');
349349
} else {
350350
$optRawValue = $appCodeArgs->get(self::OPTION_RAW_VALUE_KEY);
351-
self::assertSame($optRawValue === null ? $optRawValue : TextUtilForTests::valuetoString($optRawValue), $optActualValueParsedByNativePart);
351+
self::assertSame($optRawValue === null ? $optRawValue : trim(TextUtilForTests::valuetoString($optRawValue)), $optActualValueParsedByNativePart);
352352
}
353353

354354
$dbgCtx->pushSubScope();

0 commit comments

Comments
 (0)