From 95e31ace8782c0d173c5692d9964077f6b05b996 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Sun, 15 Jan 2017 16:06:47 +0100 Subject: [PATCH] Address small typos pointed out by @mateon1 License: MIT Signed-off-by: Hector Sanjuan --- README.md | 2 +- consensus_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5f338934..3c7bbf7a 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ In summary, it works as follows: ``` $ ipfscluster member ls # list cluster members $ ipfscluster pin add Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # pins a Cid in the cluster -$ ipfscluster pin add Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # unpin a Cid from the cluster +$ ipfscluster pin add Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # unpins a Cid from the cluster $ ipfscluster status # display tracked Cids information $ ipfscluster sync Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # recover Cids in error status ``` diff --git a/consensus_test.go b/consensus_test.go index 2d4a6c4a..72a59920 100644 --- a/consensus_test.go +++ b/consensus_test.go @@ -21,7 +21,7 @@ func TestApplyToPin(t *testing.T) { op.ApplyTo(st) pins := st.ListPins() if len(pins) != 1 || pins[0].String() != testCid { - t.Error("the state was not modified correctly") + t.Error("the state was not modified correctly") } } @@ -39,7 +39,7 @@ func TestApplyToUnpin(t *testing.T) { op.ApplyTo(st) pins := st.ListPins() if len(pins) != 0 { - t.Error("the state was not modified correctly") + t.Error("the state was not modified correctly") } }