Index: Source/wtf/tests/WTFString.cpp |
diff --git a/Source/wtf/tests/WTFString.cpp b/Source/wtf/tests/WTFString.cpp |
index 4a7b976832257c9070d93fc38009d5ac91b6635b..86e80ca0d8f4f03e73591221670fcfa19b041bd9 100644 |
--- a/Source/wtf/tests/WTFString.cpp |
+++ b/Source/wtf/tests/WTFString.cpp |
@@ -154,4 +154,17 @@ TEST(WTF, StringReplaceWithLiteral) |
ASSERT_STREQ("résumé", testString.utf8().data()); |
} |
+TEST(WTF, StringComparisonOfSameStringVectors) |
+{ |
+ Vector<String> stringVector; |
+ stringVector.append("one"); |
+ stringVector.append("two"); |
+ |
+ Vector<String> sameStringVector; |
+ sameStringVector.append("one"); |
+ sameStringVector.append("two"); |
+ |
+ ASSERT_EQ(stringVector, sameStringVector); |
+} |
+ |
} // namespace |