Skip to content

Commit

Permalink
Merge pull request #388 from IsabelParedes/start
Browse files Browse the repository at this point in the history
Rename `get_start_message`
  • Loading branch information
JohanMabille authored Mar 20, 2024
2 parents 522fbb5 + 74b7016 commit 631b7c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/xeus/xhelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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[]);

Expand Down
2 changes: 1 addition & 1 deletion src/xhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions test/test_unit_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace xeus
{
TEST_SUITE("kernel")
{
TEST_CASE("get_starting_message")
TEST_CASE("get_start_message")
{
auto context = make_mock_context();

Expand All @@ -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"
Expand Down

0 comments on commit 631b7c2

Please sign in to comment.