fix: fix issue #314

This commit is contained in:
dudaodong committed 2025-06-23 11:31:54 +08:00
1 parent a3a24fc381
commit fc7f2509ca
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -196,6 +196,14 @@ func TestBuildUrl(t *testing.T) {
want: "https://www.test.com/path%20with%20spaces",
wantErr: false,
},
{
scheme: "https",
host: "my.api.edu.cn",
path: "/api",
query: nil,
want: "https://my.api.edu.cn/api",
wantErr: false,
},
}
for _, tt := range tests {