From ad6719e2a714dab1e21f003e84a2e7015002336f Mon Sep 17 00:00:00 2001 From: ochafik Date: Sat, 28 Sep 2024 23:26:19 +0100 Subject: [PATCH] `tests`: fix typo --- tests/test-chat-template.cpp | 1 - 1 file changed, 1 deletion(-) 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();