We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec322c commit 1e7745dCopy full SHA for 1e7745d
tree_test.go
@@ -1323,7 +1323,9 @@ func TestManipulateChildren(t *testing.T) {
1323
1324
func TestLeafNodeInsert(t *testing.T) {
1325
valIdx := 42
1326
- ffx31plus42 := append(ffx32KeyTest[:StemSize], byte(valIdx))
+ ffx31plus42 := make([]byte, 32)
1327
+ copy(ffx31plus42, ffx32KeyTest[:StemSize])
1328
+ ffx31plus42[StemSize] = byte(valIdx)
1329
1330
tree := New()
1331
if err := tree.Insert(ffx31plus42, testValue, nil); err != nil {
0 commit comments