Permit safe cross-run output declarations
This commit is contained in:
@@ -345,7 +345,7 @@ func TestRestorePlanTraversalUnsafeKeyFails(t *testing.T) {
|
||||
if err == nil {
|
||||
t.Fatal("expected error, got nil")
|
||||
}
|
||||
if !strings.Contains(err.Error(), "committed destination is unsafe") {
|
||||
if !strings.Contains(err.Error(), "clean relative object key") {
|
||||
t.Fatalf("error = %v, want traversal safety failure", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user