Skip to content

Commit e061489

Browse files
committed
test(cors): cover empty normalized bucket paths
1 parent b5e4922 commit e061489

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/cli/src/commands/cors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ mod tests {
533533
assert!(parse_bucket_path("").is_err());
534534
assert!(parse_bucket_path("local").is_err());
535535
assert!(parse_bucket_path("/bucket").is_err());
536+
assert!(parse_bucket_path("local/").is_err());
537+
assert!(parse_bucket_path("local//").is_err());
536538
assert!(parse_bucket_path("local///").is_err());
537539
}
538540

0 commit comments

Comments
 (0)