Skip to content

Commit 056c7e4

Browse files
committed
Add new test
1 parent c706c1f commit 056c7e4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

parser_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ var getTests = []Test{
144144
isFound: true,
145145
data: `15°C`,
146146
},
147+
Test{
148+
desc: `no padding + nested`,
149+
json: `{"a":{"a":1},"b":2}`,
150+
path: []string{"b"},
151+
isFound: true,
152+
data: `2`,
153+
},
147154

148155
// Not found key tests
149156
Test{

0 commit comments

Comments
 (0)