Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat committed Jan 11, 2024
1 parent 034e10a commit 697af1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions silkworm/rpc/http/json_rpc_validator_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include "json_rpc_validator.hpp"

#include <iostream>
#include <catch2/catch.hpp>

#include "json_rpc_specification.hpp"
Expand All @@ -29,6 +30,7 @@ TEST_CASE("rpc::http::JsonRpcValidator loads default spec in constructor", "[rpc

TEST_CASE("rpc::http::JsonRpcValidator supports spec in constructor", "[rpc][http][json_rpc_validator]") {
JsonRpcValidator validator{nlohmann::json::parse(json_rpc_specification)};
std::cout << "spec=" << validator.get_spec() << "\n";
CHECK(validator.get_spec()["openrpc"] == "1.2.4");
}

Expand Down

0 comments on commit 697af1a

Please sign in to comment.