Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
spyzhov committed Mar 14, 2024
1 parent 06e9e68 commit dca82b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ func TestNode_Value_Simple(t *testing.T) {
}
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
data := test.bytes
current := &Node{
_type: test._type,
borders: [2]int{0, len(test.bytes)},
data: &test.bytes,
data: &data,
}
value, err := current.getValue()
if err != nil {
Expand Down

0 comments on commit dca82b5

Please sign in to comment.