diff --git a/tests/test-chat-template.cpp b/tests/test-chat-template.cpp index 484b18435..23772e396 100644 --- a/tests/test-chat-template.cpp +++ b/tests/test-chat-template.cpp @@ -67,7 +67,6 @@ static std::string read_file(const std::string &path) { if (!fs.is_open()) { 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); auto size = fs.tellg();