滑动续期、网络错误归类、API Key 激活乐观锁与生效提示
This commit is contained in:
@@ -101,6 +101,7 @@ func TestProxyValidateAndDeleteInUse(t *testing.T) {
|
||||
{Name: "x", Type: "ss", Host: "h", Port: 1080},
|
||||
{Name: "x", Type: "http", Host: "h", Port: 0},
|
||||
{Name: "x", Type: "http", Host: " ", Port: 8080},
|
||||
{Name: "x", Type: "http", Host: "user:pass@proxy.example.com", Port: 8080},
|
||||
} {
|
||||
if _, err := svc.Create(ctx, in); err == nil {
|
||||
t.Fatalf("Create(%+v) accepted invalid input", in)
|
||||
|
||||
Reference in New Issue
Block a user