1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Merge pull request #14341 from obsidiansystems/fix-golden-tests

Fix some characterization tests
This commit is contained in:
John Ericson 2025-10-23 19:08:43 +00:00 committed by GitHub
commit 5d365cd61f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 8 deletions

View file

@ -1 +1 @@
local://?root=/foo bar/baz
local://?root=/foo%20bar/baz

View file

@ -0,0 +1 @@
local://?root=/foo bar/baz

View file

@ -100,9 +100,12 @@ URI_TEST(local_1, localExample_1)
URI_TEST(local_2, localExample_2)
/* Test path with spaces */
/* Test path with encoded spaces */
URI_TEST(local_3, localExample_3)
/* Test path with spaces that are improperly not encoded */
URI_TEST_READ(local_3_no_percent, localExample_3)
URI_TEST_READ(local_shorthand_1, localExample_1)
URI_TEST_READ(local_shorthand_2, localExample_2)

View file

@ -1,5 +1,5 @@
{
"algorithm": "blake3",
"format": "base64",
"hash": "nnDuFEmWX7YtBJBAoe0G7Dd0MNpuwTFz58T//NKL6YA="
"algorithm": "blake3",
"format": "base64",
"hash": "nnDuFEmWX7YtBJBAoe0G7Dd0MNpuwTFz58T//NKL6YA="
}

View file

@ -1,5 +1,5 @@
{
"algorithm": "sha256",
"format": "base64",
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
"algorithm": "sha256",
"format": "base64",
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
}