1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

wire into js REVERSE function

This commit is contained in:
Craig Peterson
2017-04-14 13:53:02 -06:00
parent ec25e00cf8
commit fea2736148
4 changed files with 29 additions and 3 deletions

View File

@ -27,6 +27,8 @@ func TestReverse(t *testing.T) {
//Errror Cases:
{"0.0.0.0/0", true, ""},
{"2001::/0", true, ""},
{"4.5/16", true, ""},
{"foo.com", true, ""},
}
for i, tst := range tests {
t.Run(fmt.Sprintf("%d--%s", i, tst.in), func(t *testing.T) {