Skip to content

jsonpath array slice returns incorrect result when end argument is negative #250

@danielaparker

Description

@danielaparker

There is a bug in the jsonpath array slice when the end argument is negative. This resulted in three failures reported by JSONPath Comparison: Array slice with negative start and end and range of -1, Array slice with negative start and end and range of 0, and Array slice with negative start and end and range of 1.

Fixed in v0.153.2.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions