core: fix some typos (#10382)
Signed-off-by: crazehang <zhangrenzhong@outlook.com>
crazehang committed
Apr 3, 2024 at 19:29 UTC
efceaec7da0a30f8b0fcf690f1d1272d3e41d71f
1 file changed
+2
-2
core/coreiface/tests/unixfs.go
+2
-2
@@ -571,7 +571,7 @@ func (tp *TestSuite) TestAddHashOnly(t *testing.T) {
571
}
572
573
if p.String() != hello {
574
- t.Errorf("unxepected path: %s", p.String())
574
+ t.Errorf("unexpected path: %s", p.String())
575
}
576
577
_, err = api.Block().Get(ctx, p)
@@ -579,7 +579,7 @@ func (tp *TestSuite) TestAddHashOnly(t *testing.T) {
579
t.Fatal("expected an error")
580
}
581
if !ipld.IsNotFound(err) {
582
- t.Errorf("unxepected error: %s", err.Error())
582
+ t.Errorf("unexpected error: %s", err.Error())
583
}
584
}
585