-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add RFC9535 compliance test suite (#81)
This change adds the RFC9535 compliance test suite to the project from https://github.com/jsonpath-standard/jsonpath-compliance-test-suite. Many of the test cases are failing so the included test in lib.rs is suppressed for now and only used to print an informative summary.
- Loading branch information
1 parent
0a69c56
commit bfaa1f2
Showing
4 changed files
with
10,965 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Use this script to download the RFC9535 compliance suite and prepare it for | ||
# use in tests. | ||
|
||
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | ||
|
||
url="https://raw.githubusercontent.com/jsonpath-standard/jsonpath-compliance-test-suite/refs/heads/main/cts.json" | ||
|
||
curl -s $url | jq -r '.tests' > "$script_dir/rfc9535-cts.json" |
Oops, something went wrong.