Skip to content

Commit

Permalink
Fix failing test using dagjson encoding
Browse files Browse the repository at this point in the history
This CID has not been verified - dag-json w/ sha2-512 capped at 4 bytes for
a block that's non-trivial to reconstruct manually.
  • Loading branch information
rvagg committed Jul 16, 2021
1 parent a333358 commit 7999406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traversal/focus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func TestFocusedTransformWithLinks(t *testing.T) {
Wish(t, progress.Path.String(), ShouldEqual, "linkedMap/nested/nonlink")
Wish(t, must.String(prev), ShouldEqual, "zoo")
Wish(t, progress.LastBlock.Path.String(), ShouldEqual, "linkedMap")
Wish(t, progress.LastBlock.Link.String(), ShouldEqual, "baguqeeyevmbz3ga")
Wish(t, progress.LastBlock.Link.String(), ShouldEqual, "baguqeeye2opztzy")
nb := prev.Prototype().NewBuilder()
nb.AssignString("new string!")
return nb.Build(), nil
Expand Down

0 comments on commit 7999406

Please sign in to comment.