Skip to content

Commit

Permalink
fix locale diff in UT
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing committed Jun 24, 2024
1 parent 1a6b488 commit 3bd2e2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/iptux/UiModelsTest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "gtest/gtest.h"

#include "iptux-utils/TestHelper.h"
#include <clocale>
#include <memory>
#include <vector>

Expand Down Expand Up @@ -89,6 +90,7 @@ static string igtk_text_get_all_text(GtkTextBuffer* buffer) {
}

TEST(GroupInfo, addMsgPara) {
setlocale(LC_ALL, "C");
PalInfo pal("127.0.0.1", 2425);
pal.setVersion("1_iptux");
pal.setName("palname");
Expand Down

0 comments on commit 3bd2e2b

Please sign in to comment.