mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 01:39:36 +01:00
Fix some characterization tests
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.
This commit is contained in:
parent
0a74b4905c
commit
c87f29a0b6
5 changed files with 12 additions and 8 deletions
|
|
@ -1 +1 @@
|
|||
local://?root=/foo bar/baz
|
||||
local://?root=/foo%20bar/baz
|
||||
|
|
@ -0,0 +1 @@
|
|||
local://?root=/foo bar/baz
|
||||
Loading…
Add table
Add a link
Reference in a new issue