diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-24 20:22:43 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-24 20:22:43 +0900 |
| commit | 929b2c938ba8c2b83f360b0ba3a04f64075282f8 (patch) | |
| tree | 04a821aa1467869889c89075b7ee482a78c5089d /crates/shirabe/src/console/html_output_formatter.rs | |
| parent | 87e8c9e1eda67bd6c3f5e3ec2780155ad8b77e1a (diff) | |
| download | php-shirabe-929b2c938ba8c2b83f360b0ba3a04f64075282f8.tar.gz php-shirabe-929b2c938ba8c2b83f360b0ba3a04f64075282f8.tar.zst php-shirabe-929b2c938ba8c2b83f360b0ba3a04f64075282f8.zip | |
fix(installer-test): match Locker content-hash encoding to lock hash
do_test_integration built the Locker's composer.json content string with
serde_json::to_string, which doesn't escape slashes, while the fixture's
auto-computed lock "hash" field used JsonFile::encode_with_options with
slashes escaped (mirroring PHP's json_encode default). Since virtually
every package name contains a "/", this made Locker::isFresh() spuriously
report every such lock as stale, unignoring 12 fixtures that depended on
the lock being recognized as fresh during `install`.
Diffstat (limited to 'crates/shirabe/src/console/html_output_formatter.rs')
0 files changed, 0 insertions, 0 deletions
