Skip to content

Commit

Permalink
chore: add recaxfr test
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Apr 4, 2023
1 parent 7792bbf commit e67dd2b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,12 @@ func TestMainParseServer(t *testing.T) {
assert.Equalf(t, tc.ExpectedHost, host, "%s", tc.Server)
}
}

func TestMainRecAXFR(t *testing.T) {
clearOpts()
assert.Nil(t, driver([]string{
"-v",
"+recaxfr",
"@nsztm1.digi.ninja", "zonetransfer.me",
}))
}

0 comments on commit e67dd2b

Please sign in to comment.