Index: Source/wtf/tests/WTFString.cpp |
diff --git a/Source/wtf/tests/WTFString.cpp b/Source/wtf/tests/WTFString.cpp |
index 6ef9c89cfd49b6d5e02e0f1cc24e235f2606f409..4a7b976832257c9070d93fc38009d5ac91b6635b 100644 |
--- a/Source/wtf/tests/WTFString.cpp |
+++ b/Source/wtf/tests/WTFString.cpp |
@@ -35,7 +35,7 @@ namespace { |
TEST(WTF, StringCreationFromLiteral) |
{ |
- String stringFromLiteral(ASCIILiteral("Explicit construction syntax")); |
+ String stringFromLiteral("Explicit construction syntax"); |
ASSERT_EQ(strlen("Explicit construction syntax"), stringFromLiteral.length()); |
ASSERT_TRUE(stringFromLiteral == "Explicit construction syntax"); |
ASSERT_TRUE(stringFromLiteral.is8Bit()); |
@@ -61,7 +61,7 @@ TEST(WTF, StringASCII) |
ASSERT_STREQ("", output.data()); |
// Regular String. |
- output = String(ASCIILiteral("foobar")).ascii(); |
+ output = String("foobar").ascii(); |
ASSERT_STREQ("foobar", output.data()); |
} |