macaroons/constraints_test: remove extraneous semicolon

This commit is contained in:
Conner Fromknecht committed 2018-08-02 18:20:50 -07:00
1 parent 9eff876f52
commit 8beeeb1944
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ func TestIpLockConstraint(t *testing.T) {
// TestIPLockBadIP tests that an IP constraint cannot be added if the // TestIPLockBadIP tests that an IP constraint cannot be added if the
// provided string is not a valid IP address. // provided string is not a valid IP address.
func TestIPLockBadIP(t *testing.T) { func TestIPLockBadIP(t *testing.T) {
constraintFunc := macaroons.IPLockConstraint("127.0.0/800"); constraintFunc := macaroons.IPLockConstraint("127.0.0/800")
testMacaroon := createDummyMacaroon(t) testMacaroon := createDummyMacaroon(t)
err := constraintFunc(testMacaroon) err := constraintFunc(testMacaroon)
if err == nil { if err == nil {