Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
vendorpull https://github.com/sourcemeta/vendorpull 1dcbac42809cf87cb5b045106b863e17ad84ba02
core https://github.com/sourcemeta/core 2cc994b2073d85073874af7a13085de938d6ef48
jsonbinpack https://github.com/sourcemeta/jsonbinpack de6cc365496057a811a2e8f54b3c5aad6431d5b6
blaze https://github.com/sourcemeta/blaze fa1310cb51cd7d1afbd08dc47dab5307b0122526
core https://github.com/sourcemeta/core 9690689b154bbb77c4f1b56a72ce20aa5dbb702b
jsonbinpack https://github.com/sourcemeta/jsonbinpack 183f333e0e032ebf0a397b5d66ed504c44a0a59f
blaze https://github.com/sourcemeta/blaze 22d0e8a03d1de54c44599426d8537386fcf2a617
ctrf https://github.com/ctrf-io/ctrf 93ea827d951390190171d37443bff169cf47c808
2 changes: 0 additions & 2 deletions test/metaschema/fail_relative_file_metaschema_ref.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ mkdir -p "$TMP/schemas/folder"

cat << 'EOF' > "$TMP/schemas/folder/test.json"
{ "$schema": "../meta.json" }
"title": "Test",
"description": "Test schema",
EOF

cat << 'EOF' > "$TMP/schemas/meta.json"
Expand Down
2 changes: 0 additions & 2 deletions test/metaschema/pass_trace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ trap clean EXIT

cat << 'EOF' > "$TMP/schema.json"
{ "$schema": "http://json-schema.org/draft-04/schema#" }
"title": "Test",
"description": "Test schema",
EOF

"$1" metaschema "$TMP/schema.json" --trace > "$TMP/output.txt"
Expand Down
16 changes: 10 additions & 6 deletions test/validate/fail_resolve_missing_open_brace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ EOF
"$1" validate "$TMP/schema.json" "$TMP/instance.json" \
--resolve "$TMP/invalid.json" 2> "$TMP/stderr.txt" \
&& EXIT_CODE="$?" || EXIT_CODE="$?"
# Schema input error
test "$EXIT_CODE" = "4"
# Other input error
test "$EXIT_CODE" = "6"

cat << EOF > "$TMP/expected.txt"
error: The file you provided does not represent a valid JSON Schema
error: Failed to parse the JSON document
at line 2
at column 12
at file path $(realpath "$TMP")/invalid.json
EOF

Expand All @@ -45,12 +47,14 @@ diff "$TMP/stderr.txt" "$TMP/expected.txt"
"$1" validate "$TMP/schema.json" "$TMP/instance.json" \
--resolve "$TMP/invalid.json" --json > "$TMP/stdout.txt" \
&& EXIT_CODE="$?" || EXIT_CODE="$?"
# Schema input error
test "$EXIT_CODE" = "4"
# Other input error
test "$EXIT_CODE" = "6"

cat << EOF > "$TMP/expected.txt"
{
"error": "The file you provided does not represent a valid JSON Schema",
"error": "Failed to parse the JSON document",
"line": 2,
"column": 12,
"filePath": "$(realpath "$TMP")/invalid.json"
}
EOF
Expand Down
10 changes: 5 additions & 5 deletions vendor/blaze/CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/blaze/DEPENDENCIES

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions vendor/blaze/config.cmake.in

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions vendor/blaze/ports/javascript/describe.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 21 additions & 2 deletions vendor/blaze/ports/javascript/index.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading