Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libstore-tests/data/store-reference/local_3.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
local://?root=/foo bar/baz
local://?root=/foo%20bar/baz
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local://?root=/foo bar/baz
5 changes: 4 additions & 1 deletion src/libstore-tests/store-reference.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions src/libutil-tests/data/hash/blake3-base64.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"algorithm": "blake3",
"format": "base64",
"hash": "nnDuFEmWX7YtBJBAoe0G7Dd0MNpuwTFz58T//NKL6YA="
"algorithm": "blake3",
"format": "base64",
"hash": "nnDuFEmWX7YtBJBAoe0G7Dd0MNpuwTFz58T//NKL6YA="
}
6 changes: 3 additions & 3 deletions src/libutil-tests/data/hash/sha256-base64.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"algorithm": "sha256",
"format": "base64",
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
"algorithm": "sha256",
"format": "base64",
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
}
Loading