Skip to content

Commit 5d365cd

Browse files
authored
Merge pull request #14341 from obsidiansystems/fix-golden-tests
Fix some characterization tests
2 parents d6f1e2d + c87f29a commit 5d365cd

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
local://?root=/foo bar/baz
1+
local://?root=/foo%20bar/baz
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
local://?root=/foo bar/baz

src/libstore-tests/store-reference.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,12 @@ URI_TEST(local_1, localExample_1)
100100

101101
URI_TEST(local_2, localExample_2)
102102

103-
/* Test path with spaces */
103+
/* Test path with encoded spaces */
104104
URI_TEST(local_3, localExample_3)
105105

106+
/* Test path with spaces that are improperly not encoded */
107+
URI_TEST_READ(local_3_no_percent, localExample_3)
108+
106109
URI_TEST_READ(local_shorthand_1, localExample_1)
107110

108111
URI_TEST_READ(local_shorthand_2, localExample_2)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"algorithm": "blake3",
3-
"format": "base64",
4-
"hash": "nnDuFEmWX7YtBJBAoe0G7Dd0MNpuwTFz58T//NKL6YA="
2+
"algorithm": "blake3",
3+
"format": "base64",
4+
"hash": "nnDuFEmWX7YtBJBAoe0G7Dd0MNpuwTFz58T//NKL6YA="
55
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"algorithm": "sha256",
3-
"format": "base64",
4-
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
2+
"algorithm": "sha256",
3+
"format": "base64",
4+
"hash": "8OTC92xYkW7CWPJGhRvqCR0U1CR6L8PhhpRGGxgW4Ts="
55
}

0 commit comments

Comments
 (0)