You are here

public function InlineTest::getTestsForNullValues in Lockr 7.3

File

vendor/symfony/yaml/Tests/InlineTest.php, line 755

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function getTestsForNullValues() {
  return [
    'null before closing curly brace' => [
      '{foo:}',
      [
        'foo' => null,
      ],
    ],
    'null before comma' => [
      '{foo:, bar: baz}',
      [
        'foo' => null,
        'bar' => 'baz',
      ],
    ],
  ];
}