This commit is contained in:
Roland Shoemaker 2015-08-06 16:11:27 -07:00
parent a888baf488
commit 8ee990b966
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ func TestAdd(t *testing.T) {
test.AssertNotError(t, err, "Failed to add blacklist rule")
err = p.AddRule("b.bracewel.net", whitelisted)
test.AssertNotError(t, err, "Failed to add whitelist rule")
err = p.AddRule("b.bracewel.net", whitelisted)
err = p.AddRule("b.bracewel.net", blacklisted)
test.AssertError(t, err, "Didn't error on duplicate rule")
}