mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 05:36:54 +02:00
feat(tests): update neon tests
This commit is contained in:
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
test('encode', function () {
|
||||
$string = filesystem()->file(ROOT_DIR . '/tests/fixtures/serializers/neon.neon')->get();
|
||||
$this->assertEquals(trim($string),
|
||||
$this->assertEquals(trim("{" . $string . "}"),
|
||||
trim(serializers()->neon()->encode(['hello' => 'world'])));
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user