1
0
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:
Awilum
2022-01-03 22:38:59 +03:00
parent 3f8026aa76
commit 8dac015868

View File

@@ -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'])));
});