summaryrefslogtreecommitdiffstats
path: root/base/string16_unittest.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-13 20:05:47 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-13 20:05:47 +0000
commit3c1304e2a45c7139d6cb459724e5efadd144d15d (patch)
treea21cad730c73fd7a507d2ea9027c03fe9021483c /base/string16_unittest.cc
parent2acedf331931f45d51176f35853cb64a02d0c80c (diff)
downloadchromium_src-3c1304e2a45c7139d6cb459724e5efadd144d15d.zip
chromium_src-3c1304e2a45c7139d6cb459724e5efadd144d15d.tar.gz
chromium_src-3c1304e2a45c7139d6cb459724e5efadd144d15d.tar.bz2
Apparently we weren't running this unittest.
When porting this test to NaCl, I discovered that it didn't build! This patch makes it build and adds it to our test suite. Review URL: http://codereview.chromium.org/4966001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66068 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string16_unittest.cc')
-rw-r--r--base/string16_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/string16_unittest.cc b/base/string16_unittest.cc
index 06b3dca..e833ed2 100644
--- a/base/string16_unittest.cc
+++ b/base/string16_unittest.cc
@@ -43,7 +43,7 @@ TEST(String16Test, OutputStream) {
std::ostringstream stream;
stream << initial_surrogate << "," << final_surrogate << ","
- << surrogate_pair << ",", unterminated_surrogate;
+ << surrogate_pair << "," << unterminated_surrogate;
EXPECT_STREQ("\xef\xbf\xbd,\xef\xbf\xbd,\xf0\x90\x8c\x80z,\xef\xbf\xbds",
stream.str().c_str());