-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jojoliang
committed
Nov 11, 2024
1 parent
90a859c
commit b0d535d
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -291,7 +291,7 @@ func Test_BaseURL(t *testing.T) { | |
if (&BaseURL{BucketURL: u, ServiceURL: u, BatchURL: u}).Check() { | ||
t.Errorf("BaseURL check failed: %v", u) | ||
} | ||
u, _ = url.Parse("https://[email protected]/myqcloud.com") | ||
u, _ = url.Parse("https://[email protected]/.myqcloud.com") | ||
if (&BaseURL{BucketURL: u, ServiceURL: u, BatchURL: u}).Check() { | ||
t.Errorf("BaseURL check failed: %v", u) | ||
} | ||
|
@@ -349,7 +349,7 @@ func Test_BaseURL(t *testing.T) { | |
if (&BaseURL{BatchURL: u}).Check() { | ||
t.Errorf("BaseURL check failed: %v", u) | ||
} | ||
u, _ = url.Parse("http://cos-control.ap-guangzhou.myqcloud.com/www.com") | ||
u, _ = url.Parse("http://cos-control.ap-guangzhou.myqcloud.com") | ||
if (&BaseURL{BatchURL: u}).Check() { | ||
t.Errorf("BaseURL check failed: %v", u) | ||
} | ||
|