From 0e29223dd481cd628cfc1d07ee6a555c865432a4 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Thu, 22 Jan 2009 15:23:34 +0000 Subject: Replace cases of Append(FILE_PATH_LITERAL()) with AppendASCII(""). Review URL: http://codereview.chromium.org/18499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8454 0039d316-1c4b-4281-b951-d872f2087c98 --- base/directory_watcher_unittest.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'base') diff --git a/base/directory_watcher_unittest.cc b/base/directory_watcher_unittest.cc index 5e32a36..23ae803 100644 --- a/base/directory_watcher_unittest.cc +++ b/base/directory_watcher_unittest.cc @@ -143,7 +143,7 @@ TEST_F(DirectoryWatcherTest, SubDir) { DirectoryWatcher watcher; ASSERT_TRUE(watcher.Watch(test_dir_, this)); // Write a file to the subdir. - FilePath test_path = subdir.Append(FILE_PATH_LITERAL("test_file")); + FilePath test_path = subdir.AppendASCII("test_file"); WriteTestDirFile(test_path.value(), "some content"); // We won't get a notification, so we just wait around a bit to verify @@ -190,6 +190,5 @@ TEST_F(DirectoryWatcherTest, DeleteDuringNotify) { // Basic test: add a file and verify we notice it. TEST_F(DirectoryWatcherTest, NonExistentDirectory) { DirectoryWatcher watcher; - ASSERT_FALSE(watcher.Watch( - test_dir_.Append(FILE_PATH_LITERAL("does-not-exist")), this)); + ASSERT_FALSE(watcher.Watch(test_dir_.AppendASCII("does-not-exist"), this)); } -- cgit v1.1