Index: base/json/string_escape_unittest.cc |
=================================================================== |
--- base/json/string_escape_unittest.cc (revision 40871) |
+++ base/json/string_escape_unittest.cc (working copy) |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
#include "base/json/string_escape.h" |
-#include "base/string_util.h" |
+#include "base/utf_string_conversions.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace base { |
@@ -20,7 +20,7 @@ |
{"b\x0f\x7f\xf0\xff!", "b\\u000F\\u007F\\u00F0\\u00FF!"}, |
}; |
-} |
+} // namespace |
TEST(StringEscapeTest, JsonDoubleQuoteNarrow) { |
for (size_t i = 0; i < arraysize(json_narrow_cases); ++i) { |
@@ -64,10 +64,9 @@ |
{L"b\x0f\x7f\xf0\xff!", "b\\u000F\\u007F\\u00F0\\u00FF!"}, |
}; |
-} |
+} // namespace |
TEST(StringEscapeTest, JsonDoubleQuoteWide) { |
- |
for (size_t i = 0; i < arraysize(json_wide_cases); ++i) { |
std::string out; |
string16 in = WideToUTF16(json_wide_cases[i].to_escape); |