Skip to content

Commit

Permalink
pathbuilder: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Vicent Marti <vmg@strn.cat>
  • Loading branch information
vmg committed Feb 11, 2025
1 parent 2528cf3 commit 99a4685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/sqlparser/pathbuilder/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestASTPathBuilderAddStepOffset(t *testing.T) {
name: "multiple steps",
steps: []uint16{1, 0x24, 0x913, 0x913},
offsets: []int{0, -1, 0, 1}, // the 0 is overwritten by the last offset
wantPath: "\x00\x01\x00\x00\x24\x09\x13\x02",
wantPath: "\x00\x01\x00\x00\x24\x09\x13\x01",
},
}
for _, tt := range tests {
Expand Down

0 comments on commit 99a4685

Please sign in to comment.