Skip to content

Commit ddf2475

Browse files
committed
UPD | docs: routers #2
1 parent c27d58c commit ddf2475

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_std.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
#include "./utest.h"
44
#include "./tools.hpp"
55

6-
UTEST(string, replace_1) {
6+
UTEST(std_string, replace_1) {
77
std::string a = "Hello$2!";
88
auto res = manapi::string::replace(a, "$2", ", world");
99

1010
ASSERT_TRUE(a == "Hello, world!");
1111
ASSERT_TRUE(1 == res);
1212
}
1313

14-
UTEST(string, replace_2) {
14+
UTEST(std_string, replace_2) {
1515
std::string a = "Hello$2!Hello$2!";
1616
auto res = manapi::string::replace(a, "$2", ", world");
1717

1818
ASSERT_TRUE(a == "Hello, world!Hello, world!");
1919
ASSERT_TRUE(2 == res);
2020
}
2121

22-
UTEST(string, replace_3) {
22+
UTEST(std_string, replace_3) {
2323
std::string a = "Hello$2!Hello$2!";
2424
auto res = manapi::string::replace(a, "$2", ", world", 1);
2525

2626
ASSERT_TRUE(a == "Hello, world!Hello$2!");
2727
ASSERT_TRUE(1 == res);
2828
}
2929

30-
UTEST(string, replace_4) {
30+
UTEST(std_string, replace_4) {
3131
std::string a = "Hello$2!Hello$2!";
3232
auto res = manapi::string::replace(a, "$2", ", world", 0);
3333

@@ -36,7 +36,7 @@ UTEST(string, replace_4) {
3636
}
3737

3838

39-
UTEST(string, replace_5) {
39+
UTEST(std_string, replace_5) {
4040
std::string a = "$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2$2";
4141
auto res = manapi::string::replace(a, "$2", ", world", 9);
4242

0 commit comments

Comments
 (0)