From 74b701657d20cf8b6625694fbdaf5c9b6f2d1d13 Mon Sep 17 00:00:00 2001 From: Isabel Paredes Date: Fri, 15 Mar 2024 11:53:42 +0100 Subject: [PATCH] Rename function --- include/xeus/xhelper.hpp | 2 +- src/xhelper.cpp | 2 +- test/test_unit_kernel.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/xeus/xhelper.hpp b/include/xeus/xhelper.hpp index f04f8570..08be171b 100644 --- a/include/xeus/xhelper.hpp +++ b/include/xeus/xhelper.hpp @@ -23,7 +23,7 @@ namespace nl = nlohmann; namespace xeus { - XEUS_API std::string get_starting_message(const xconfiguration& config); + XEUS_API std::string get_start_message(const xconfiguration& config); XEUS_API std::string extract_filename(int argc, char* argv[]); diff --git a/src/xhelper.cpp b/src/xhelper.cpp index 2a325066..98d999f3 100644 --- a/src/xhelper.cpp +++ b/src/xhelper.cpp @@ -9,7 +9,7 @@ namespace nl = nlohmann; namespace xeus { - std::string get_starting_message(const xconfiguration& config) + std::string get_start_message(const xconfiguration& config) { std::string kernel_info; kernel_info = "Starting kernel...\n\n" diff --git a/test/test_unit_kernel.cpp b/test/test_unit_kernel.cpp index e8841349..97a967ee 100644 --- a/test/test_unit_kernel.cpp +++ b/test/test_unit_kernel.cpp @@ -28,7 +28,7 @@ namespace xeus { TEST_SUITE("kernel") { - TEST_CASE("get_starting_message") + TEST_CASE("get_start_message") { auto context = make_mock_context(); @@ -38,7 +38,7 @@ namespace xeus std::move(context), std::move(interpreter), make_mock_server); - std::string kernel_config = get_starting_message(kernel.get_config()); + std::string kernel_config = get_start_message(kernel.get_config()); std::cout << kernel_config << std::endl; size_t pos = kernel_config.find("Starting kernel...\n" "\n"