Skip to content

Commit

Permalink
Failing test about encoding/decoding CRLF (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes authored Oct 4, 2024
1 parent be5ccee commit cfc8dcf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Neon/Encoder.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,9 @@ Assert::exception(
Nette\Neon\Exception::class,
'INF and NAN cannot be encoded to NEON',
);

$crlf = "test\r\ntest 2";
Assert::same(
$crlf,
Neon::decode(Neon::encode($crlf, true)),
);

0 comments on commit cfc8dcf

Please sign in to comment.