tests: fix typo

This commit is contained in:
ochafik 2024-09-28 23:26:19 +01:00
parent a072f30a8d
commit ad6719e2a7

View file

@ -67,7 +67,6 @@ static std::string read_file(const std::string &path) {
if (!fs.is_open()) { if (!fs.is_open()) {
throw std::runtime_error("Failed to open file: " + path); throw std::runtime_error("Failed to open file: " + path);
} }
throw std::runtime_error("Failed to open file: " + path);
} }
fs.seekg(0, std::ios_base::end); fs.seekg(0, std::ios_base::end);
auto size = fs.tellg(); auto size = fs.tellg();