Index: test/compiled/RegExp.cpp |
diff --git a/test/compiled/RegExp.cpp b/test/compiled/RegExp.cpp |
index 0ac09de5dea0954c3877cd053ddce1f6d5f5b20c..380e9d8be94f1045601e9e9e2c827e6f86f96729 100644 |
--- a/test/compiled/RegExp.cpp |
+++ b/test/compiled/RegExp.cpp |
@@ -22,13 +22,13 @@ ABP_NS_USING |
TEST(TestRegexp, RegExp) |
{ |
- auto id = GenerateRegExp(u"[0-9]*"_str, false); |
+ auto id = GenerateRegExp(ABP_TEXT("[0-9]*"_str), false); |
EXPECT_EQ(0u, id); |
- EXPECT_FALSE(TestRegExp(id, u"abcd"_str)); |
- EXPECT_TRUE(TestRegExp(id, u"1234"_str)); |
+ EXPECT_FALSE(TestRegExp(id, ABP_TEXT("abcd"_str))); |
+ EXPECT_TRUE(TestRegExp(id, ABP_TEXT("1234"_str))); |
DeleteRegExp(id); |
// RegExp has been delete: all is false |
- EXPECT_FALSE(TestRegExp(id, u"abcd"_str)); |
- EXPECT_FALSE(TestRegExp(id, u"1234"_str)); |
+ EXPECT_FALSE(TestRegExp(id, ABP_TEXT("abcd"_str))); |
+ EXPECT_FALSE(TestRegExp(id, ABP_TEXT("1234"_str))); |
} |