Skip to content

Conversation

@Ericson2314
Copy link
Member

Motivation

A few changes had cropped up with _NIX_TEST_ACCEPT=1:

  1. Blake hashing test JSON had a different indentation

  2. Store URI had improper non-quoted spaces

(1) was is just fixed, as we trust nlohmann JSON to parse JSON correctly, regardless of whitespace.

For (2), the existing URL was made a read-only test, since we very much wish to continue parsing such invalid URLs directly. And then the original read/write test was updated to properly percent-encode the space, as the normal form should be.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

A few changes had cropped up with `_NIX_TEST_ACCEPT=1`:

1. Blake hashing test JSON had a different indentation

2. Store URI had improper non-quoted spaces

(1) was is just fixed, as we trust nlohmann JSON to parse JSON
correctly, regardless of whitespace.

For (2), the existing URL was made a read-only test, since we very much
wish to continue parsing such invalid URLs directly. And then the
original read/write test was updated to properly percent-encode the
space, as the normal form should be.
@Ericson2314 Ericson2314 added this pull request to the merge queue Oct 23, 2025
Merged via the queue into NixOS:master with commit 5d365cd Oct 23, 2025
16 checks passed
@Ericson2314 Ericson2314 deleted the fix-golden-tests branch October 23, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants