Index: base/files/file_proxy_unittest.cc |
diff --git a/base/files/file_proxy_unittest.cc b/base/files/file_proxy_unittest.cc |
index df0bbc869c2d9a31a0113cf18d9b0961b8f35bae..55436734e6a95073629f7433907b93e6a0d178d9 100644 |
--- a/base/files/file_proxy_unittest.cc |
+++ b/base/files/file_proxy_unittest.cc |
@@ -160,11 +160,6 @@ TEST_F(FileProxyTest, Close) { |
FileProxy proxy(file_task_runner()); |
CreateProxy(File::FLAG_CREATE | File::FLAG_WRITE, &proxy); |
-#if defined(OS_WIN) |
- // This fails on Windows if the file is not closed. |
- EXPECT_FALSE(base::Move(test_path(), test_dir_path().AppendASCII("new"))); |
-#endif |
- |
proxy.Close(Bind(&FileProxyTest::DidFinish, weak_factory_.GetWeakPtr())); |
MessageLoop::current()->Run(); |
EXPECT_EQ(File::FILE_OK, error_); |