We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a262138 commit 3f5067dCopy full SHA for 3f5067d
Tests/ParserTest.php
@@ -446,14 +446,11 @@ public function testObjectsSupportDisabledWithExceptions()
446
$this->parser->parse('foo: !!php/object:O:30:"Symfony\Tests\Component\Yaml\B":1:{s:1:"b";s:3:"foo";}', true, false);
447
}
448
449
+ /**
450
+ * @requires extension iconv
451
+ */
452
public function testNonUtf8Exception()
453
{
- if (!function_exists('iconv')) {
- $this->markTestSkipped('Exceptions for non-utf8 charsets require the iconv() function.');
-
454
- return;
455
- }
456
457
$yamls = array(
458
iconv('UTF-8', 'ISO-8859-1', "foo: 'äöüß'"),
459
iconv('UTF-8', 'ISO-8859-15', "euro: '€'"),
0 commit comments