[Webkit-unassigned] [Bug 69942] When an API test fails, TestWebKitAPI crashes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 20 10:36:19 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=69942
--- Comment #6 from David Kilzer (ddkilzer) <ddkilzer at webkit.org> 2011-12-20 10:36:19 PST ---
This is trivial to reproduce by changing a StringBuilder test to fail:
--- a/Tools/TestWebKitAPI/Tests/WTF/StringBuilder.cpp
+++ b/Tools/TestWebKitAPI/Tests/WTF/StringBuilder.cpp
@@ -128,7 +128,7 @@ TEST(StringBuilderTest, ToStringPreserveCapacity)
StringBuilder builder;
builder.append("0123456789");
String string = builder.toStringPreserveCapacity();
- ASSERT_EQ(String("0123456789"), string);
+ ASSERT_EQ(String("01234567890"), string);
ASSERT_EQ(string.impl(), builder.toStringPreserveCapacity().impl());
ASSERT_EQ(string.characters(), builder.characters());
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list