-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Description
Following code fails in expect_body_json_jq_test.go
t.Run("array", func(t *testing.T) {
Test(t,
Post(s.URL),
Description("first expression returning an array"),
Expect().Body().JSON().JQ(".Bills", ".[].ID").Equal([]int{21, 25}),
)
Test(t,
Post(s.URL),
Description("first expression returning single json objects"),
Expect().Body().JSON().JQ(".Bills[]", ".ID").Equal([]int{21, 25}),
)
})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels