Skip to content

Commit 661a67c

Browse files
committed
test pointer with nested 0 len keys
1 parent 9256a75 commit 661a67c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patch/pointer_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ var testCases = []PointerTestCase{
1919

2020
// Root level
2121
{"/", []Token{RootToken{}, KeyToken{Key: ""}}},
22+
{"//", []Token{RootToken{}, KeyToken{Key: ""}, KeyToken{Key: ""}}},
2223
{"/ ", []Token{RootToken{}, KeyToken{Key: " "}}},
2324

2425
// Maps

0 commit comments

Comments
 (0)