diff options
Diffstat (limited to 'base/test/test_file_util_win.cc')
-rw-r--r-- | base/test/test_file_util_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/test/test_file_util_win.cc b/base/test/test_file_util_win.cc index 4f561f6..c15efa2 100644 --- a/base/test/test_file_util_win.cc +++ b/base/test/test_file_util_win.cc @@ -107,8 +107,8 @@ bool EvictFileFromSystemCache(const FilePath& file) { file_handle.Set(NULL); file_handle.Set(CreateFile(file.value().c_str(), GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL)); - CHECK(SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN) != - INVALID_SET_FILE_POINTER); + CHECK_NE(SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN), + INVALID_SET_FILE_POINTER); CHECK(::SetEndOfFile(file_handle)); } |