mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 23:56:50 +08:00
🐞 Remove incorrect -delegates
warning
fixes, when server is started with `-delegates` unset: ``` -delegates: arguments should be in the format "delegatedDomain=nameserver", not "" ```
This commit is contained in:
@@ -173,7 +173,7 @@ var _ = Describe("flags", func() {
|
||||
flags = []string{"-delegates="}
|
||||
})
|
||||
It("should give an informative message", func() {
|
||||
Expect(string(serverSession.Err.Contents())).Should(MatchRegexp(`-delegates: arguments should be in the format "delegatedDomain=nameserver", not ""`))
|
||||
Expect(string(serverSession.Err.Contents())).Should(Not(MatchRegexp(`-delegates`)))
|
||||
})
|
||||
})
|
||||
When("the arguments are mangled", func() {
|
||||
|
Reference in New Issue
Block a user