Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
🚨 another clang-tidy warning fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
burgholzer committed Jun 9, 2023
1 parent 7a96d3c commit 1b750ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_qcecexec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ inline void from_json(const nlohmann::json& j, TestConfigurationQCEC& test) {
test.expectedEquivalence = j.at("expected_equivalence").get<std::string>();
}

static std::vector<TestConfigurationQCEC> getTests(const std::string& path) {
namespace {
std::vector<TestConfigurationQCEC> getTests(const std::string& path) {
std::ifstream input(path);
nlohmann::json j;
input >> j;
return j;
}
} // namespace

class QCECExecTest : public ::testing::TestWithParam<TestConfigurationQCEC> {
protected:
Expand Down

0 comments on commit 1b750ea

Please sign in to comment.