macaroons/constraints_test: remove extraneous semicolon
This commit is contained in:
parent
9eff876f52
commit
8beeeb1944
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user