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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
vendorpull https://github.com/sourcemeta/vendorpull 70342aaf458e6cb80baeb5b718901075fc42ede6
core https://github.com/sourcemeta/core 9d5e6374e3c74d605144c611b757c81a9108ba4f
core https://github.com/sourcemeta/core 1e83e267f00bd5686d9546fb20877bf6e4b20dc5
bootstrap https://github.com/twbs/bootstrap 1a6fdfae6be09b09eaced8f0e442ca6f7680a61e
2 changes: 2 additions & 0 deletions cmake/FindCore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ if(NOT Core_FOUND)
set(SOURCEMETA_CORE_MD5 OFF CACHE BOOL "disable")
set(SOURCEMETA_CORE_JSONL OFF CACHE BOOL "disable JSONL support")
set(SOURCEMETA_CORE_YAML OFF CACHE BOOL "disable YAML support")
set(SOURCEMETA_CORE_EXTENSION_OPTIONS OFF CACHE BOOL "disable")
set(SOURCEMETA_CORE_EXTENSION_BUILD OFF CACHE BOOL "disable")
set(SOURCEMETA_CORE_CONTRIB_GOOGLETEST ${JSONBINPACK_TESTS} CACHE BOOL "GoogleTest")
set(SOURCEMETA_CORE_CONTRIB_GOOGLEBENCHMARK OFF CACHE BOOL "GoogleBenchmark")
add_subdirectory("${PROJECT_SOURCE_DIR}/vendor/core")
Expand Down
4 changes: 1 addition & 3 deletions test/compiler/2020_12_canonicalizer_boolean_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ TEST(JSONBinPack_Canonicalizer_Boolean_2020_12, drop_non_boolean_keywords_2) {

const auto expected = sourcemeta::core::parse_json(R"JSON({
"$schema": "https://json-schema.org/draft/2020-12/schema",
"enum": [ true, false ],
"maxItems": 4,
"maxLength": 3
"enum": [ true, false ]
})JSON");

EXPECT_EQ(schema, expected);
Expand Down
4 changes: 1 addition & 3 deletions test/compiler/2020_12_canonicalizer_null_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ TEST(JSONBinPack_Canonicalizer_Null_2020_12, drop_non_null_keywords_2) {

const auto expected = sourcemeta::core::parse_json(R"JSON({
"$schema": "https://json-schema.org/draft/2020-12/schema",
"enum": [ null ],
"maxItems": 4,
"maxLength": 3
"enum": [ null ]
})JSON");

EXPECT_EQ(schema, expected);
Expand Down
29 changes: 23 additions & 6 deletions vendor/core/CMakeLists.txt

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

Loading
Loading