diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 18:02:53 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 18:02:53 +0000 |
commit | 0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3 (patch) | |
tree | 01373f58896646edb5760e14fb7bc1392e11cf1f /base/string_split_unittest.cc | |
parent | 7d33ff08cb916b595a15df22d991859f5e731ec6 (diff) | |
download | chromium_src-0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3.zip chromium_src-0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3.tar.gz chromium_src-0f337f026ad2bca4d3eda9bb1cb8e5c9dc2dd7f3.tar.bz2 |
base: remove various unused string utility functions
TEST=trybots
Review URL: http://codereview.chromium.org/3753003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_split_unittest.cc')
-rw-r--r-- | base/string_split_unittest.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/base/string_split_unittest.cc b/base/string_split_unittest.cc index d4042ad..afdc526 100644 --- a/base/string_split_unittest.cc +++ b/base/string_split_unittest.cc @@ -245,20 +245,20 @@ TEST(SplitStringUsingSubstrTest, TrailingDelimitersSkipped) { } TEST(StringSplitTest, StringSplitDontTrim) { - std::vector<std::wstring> r; + std::vector<std::string> r; - SplitStringDontTrim(L"\t\ta\t", L'\t', &r); + SplitStringDontTrim("\t\ta\t", '\t', &r); ASSERT_EQ(4U, r.size()); - EXPECT_EQ(r[0], L""); - EXPECT_EQ(r[1], L""); - EXPECT_EQ(r[2], L"a"); - EXPECT_EQ(r[3], L""); + EXPECT_EQ(r[0], ""); + EXPECT_EQ(r[1], ""); + EXPECT_EQ(r[2], "a"); + EXPECT_EQ(r[3], ""); r.clear(); - SplitStringDontTrim(L"\ta\t\nb\tcc", L'\n', &r); + SplitStringDontTrim("\ta\t\nb\tcc", '\n', &r); ASSERT_EQ(2U, r.size()); - EXPECT_EQ(r[0], L"\ta\t"); - EXPECT_EQ(r[1], L"b\tcc"); + EXPECT_EQ(r[0], "\ta\t"); + EXPECT_EQ(r[1], "b\tcc"); r.clear(); } |