Files
node/lib
Julian Kniephoff 4b4a9319d9 test_runner: fix escaping in snapshot tests
Snapshotted values are escaped after serialization.
This happens when serializing a value for comparison
when snapshots already exist, and also when updating them.
That is, snapshots are escaped in the internal storage,
but when written to disk, one "level" of escaping is removed.
That escaping is never added back when reading the snapshots back.
This makes even the simplest test trying to serialize a string
with an escape code in it fail, like the one I added here.

PR-URL: https://github.com/nodejs/node/pull/53833
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-07-15 14:55:43 +00:00
..
…
…
…
…
2024-07-07 00:56:04 +00:00
…
2024-07-08 15:38:52 -03:00
2024-01-12 16:09:48 +00:00
2024-07-08 15:55:43 +00:00
…
2023-11-11 16:25:08 +00:00
2024-06-23 06:08:59 +00:00
2024-02-02 15:25:34 +01:00
2024-03-20 17:27:29 +00:00
…
2024-05-30 09:07:17 -04:00
2024-06-07 15:51:44 +00:00
2024-07-07 00:56:04 +00:00
2024-07-04 16:19:36 +00:00
…
2024-05-02 12:54:46 +00:00