docs: fix some typos (#10377)
occupyhabit committed
Mar 25, 2024 at 16:59 UTC
62eb1439157ea8de385671cb513e8ece10e43baf
3 files changed
+3
-3
client/rpc/errors.go
+1
-1
@@ -138,7 +138,7 @@ func parseIPLDErrNotFound(msg string) (error, bool) {
138
139
// This is a simple error type that just return msg as Error().
140
// But that also match ipld.ErrNotFound when called with Is(err).
141
-// That is needed to keep compatiblity with code that use string.Contains(err.Error(), "blockstore: block not found")
141
+// That is needed to keep compatibility with code that use string.Contains(err.Error(), "blockstore: block not found")
142
// and code using ipld.ErrNotFound.
143
type blockstoreNotFoundMatchingIPLDErrNotFound struct {
144
msg string
test/cli/dag_test.go
+1
-1
@@ -36,7 +36,7 @@ type Data struct {
36
// The Fixture file represents a dag where 2 nodes of size = 46B each, have a common child of 7B
37
// when traversing the DAG from the root's children (node1 and node2) we count (46 + 7)x2 bytes (counting redundant bytes) = 106
38
// since both nodes share a common child of 7 bytes we actually had to read (46)x2 + 7 = 99 bytes
39
-// we should get a dedup ratio of 106/99 that results in approximatelly 1.0707071
39
+// we should get a dedup ratio of 106/99 that results in approximately 1.0707071
40
41
func TestDag(t *testing.T) {
42
t.Parallel()
test/sharness/t0119-prometheus.sh
+1
-1
@@ -33,7 +33,7 @@ test_expect_success "make sure metrics haven't changed" '
33
# Check what was added by enabling ResourceMgr.Enabled
34
#
35
# NOTE: we won't see all the dynamic ones, but that is ok: the point of the
36
-# test here is to detect regression when rcmgr metrics dissapear due to
36
+# test here is to detect regression when rcmgr metrics disappear due to
37
# refactor/human error.
38
39
test_expect_success "enable ResourceMgr in the config" '