Index: chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
diff --git a/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc b/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
index 524c82f2e21dbe7da1ac2ba263576bab400a727e..6a57316e5523fc43be0074c8928b69e919297351 100644 |
--- a/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
+++ b/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
@@ -386,9 +386,9 @@ TEST_F(SyncableFileOperationRunnerTest, Cancel) { |
fileapi::FileSystemOperationRunner::OperationID id = |
file_system_.operation_runner()->Truncate( |
URL(kFile), 10, |
- ExpectStatus(FROM_HERE, base::PLATFORM_FILE_ERROR_ABORT)); |
+ ExpectStatus(FROM_HERE, base::PLATFORM_FILE_OK)); |
file_system_.operation_runner()->Cancel( |
- id, ExpectStatus(FROM_HERE, base::PLATFORM_FILE_OK)); |
+ id, ExpectStatus(FROM_HERE, base::PLATFORM_FILE_ERROR_INVALID_OPERATION)); |
base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_EQ(2, callback_count_); |
} |