diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-13 20:05:47 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-13 20:05:47 +0000 |
commit | 3c1304e2a45c7139d6cb459724e5efadd144d15d (patch) | |
tree | a21cad730c73fd7a507d2ea9027c03fe9021483c | |
parent | 2acedf331931f45d51176f35853cb64a02d0c80c (diff) | |
download | chromium_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
-rw-r--r-- | base/base.gyp | 1 | ||||
-rw-r--r-- | base/string16_unittest.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/base/base.gyp b/base/base.gyp index 6ae1a95..6a03b67 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -129,6 +129,7 @@ 'simple_thread_unittest.cc', 'singleton_unittest.cc', 'stack_container_unittest.cc', + 'string16_unittest.cc', 'string_number_conversions_unittest.cc', 'string_piece_unittest.cc', 'string_split_unittest.cc', 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()); |