Skip to content

Commit

Permalink
Edited test to canonicalize
Browse files Browse the repository at this point in the history
  • Loading branch information
divyaac committed May 6, 2024
1 parent b7cc85d commit 070ef51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dependency/vault_read_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,16 +721,16 @@ func TestShimKVv2Path(t *testing.T) {
},
{
"raw path contains partial namespace, not adjusted",
"c/secret/",
"c/secret/foo",
"a/b/c/secret/",
"c/secret/data",
"c/secret/data/foo",
"a/b",
},
{
"raw path contains partial namespace, adjusted",
"c/secret/data/",
"c/secret/data/foo",
"a/b/c/secret/",
"c/secret/data/",
"c/secret/data/foo",
"a/b",
},
{
Expand All @@ -748,9 +748,9 @@ func TestShimKVv2Path(t *testing.T) {
},
{
"raw path contains partial namespace, nested namespace has same name, adjusted",
"a/secret/data/",
"a/secret/data/foo",
"a/a/secret/",
"a/secret/data/",
"a/secret/data/foo",
"a/",
},
}
Expand Down

0 comments on commit 070ef51

Please sign in to comment.