diff options
Diffstat (limited to 'base/json_writer_unittest.cc')
-rw-r--r-- | base/json_writer_unittest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/json_writer_unittest.cc b/base/json_writer_unittest.cc index a273250..cddfd4c 100644 --- a/base/json_writer_unittest.cc +++ b/base/json_writer_unittest.cc @@ -4,7 +4,6 @@ #include "testing/gtest/include/gtest/gtest.h" #include "base/json_writer.h" -#include "base/string_util.h" #include "base/values.h" TEST(JSONWriterTest, Writing) { @@ -37,10 +36,10 @@ TEST(JSONWriterTest, Writing) { // list list nesting, etc. DictionaryValue root_dict; ListValue* list = new ListValue; - root_dict.Set(LIT16("list"), list); + root_dict.Set(L"list", list); DictionaryValue* inner_dict = new DictionaryValue; list->Append(inner_dict); - inner_dict->SetInteger(LIT16("inner int"), 10); + inner_dict->SetInteger(L"inner int", 10); ListValue* inner_list = new ListValue; list->Append(inner_list); list->Append(Value::CreateBooleanValue(true)); @@ -55,3 +54,5 @@ TEST(JSONWriterTest, Writing) { "}\r\n", output_js); } + + |