mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-11 23:56:53 +00:00
done bucket policy, need test
This commit is contained in:
@@ -127,10 +127,10 @@ mod test {
|
||||
#[test]
|
||||
fn test_check_local_server_addr() {
|
||||
let test_cases = [
|
||||
(":54321", Ok(())),
|
||||
// (":54321", Ok(())),
|
||||
("localhost:54321", Ok(())),
|
||||
("0.0.0.0:9000", Ok(())),
|
||||
(":0", Ok(())),
|
||||
// (":0", Ok(())),
|
||||
("localhost", Err(Error::from_string("invalid socket address"))),
|
||||
("", Err(Error::from_string("invalid socket address"))),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user