From f6d507b203e25093c892cb306144730cec032bf8 Mon Sep 17 00:00:00 2001 From: Dirk McCormick Date: Sun, 21 Jan 2018 17:48:57 -0500 Subject: [PATCH] go fmt License: MIT Signed-off-by: Dirk McCormick --- namesys/ipns_validate_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/namesys/ipns_validate_test.go b/namesys/ipns_validate_test.go index 8e9adc781..2d46c7a82 100644 --- a/namesys/ipns_validate_test.go +++ b/namesys/ipns_validate_test.go @@ -45,7 +45,6 @@ func TestValidation(t *testing.T) { t.Fatal(err) } - // Create IPNS record path with a different key _, ipnsWrongAuthor := genKeys(t, r) wrongAuthorRec, err := record.MakePutRecord(priv, ipnsWrongAuthor, val, true) @@ -59,7 +58,6 @@ func TestValidation(t *testing.T) { t.Fatal("ValidateIpnsRecord should have returned ErrInvalidAuthor") } - // Create IPNS record path with extra path components after author extraPath := ipnsPath + "/some/path" extraPathRec, err := record.MakePutRecord(priv, extraPath, val, true) @@ -73,7 +71,6 @@ func TestValidation(t *testing.T) { t.Fatal("ValidateIpnsRecord should have returned ErrInvalidAuthor") } - // Create unsigned IPNS record unsignedRec, err := record.MakePutRecord(priv, ipnsPath, val, false) if err != nil { @@ -86,7 +83,6 @@ func TestValidation(t *testing.T) { t.Fatal("ValidateIpnsRecord should have returned ErrInvalidAuthor") } - // Create unsigned IPNS record with no author unsignedRecNoAuthor, err := record.MakePutRecord(priv, ipnsPath, val, false) if err != nil { @@ -101,7 +97,6 @@ func TestValidation(t *testing.T) { t.Fatal("ValidateIpnsRecord should have returned ErrInvalidAuthor") } - // Create expired entry expiredEntry, err := CreateRoutingEntryData(priv, path.Path("foo"), 1, ts.Add(-1*time.Hour)) if err != nil {