summaryrefslogtreecommitdiffstats
path: root/base/test
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 18:29:42 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 18:29:42 +0000
commit37199a82379c63b9daad59ba5bfb9ab99f23f7b9 (patch)
tree9ba5ed1b507fcc5d4882598760e16d8b3f69f4ef /base/test
parent394337cffb08b083513f3f93c7137aea788af5fa (diff)
downloadchromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.zip
chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.tar.gz
chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.tar.bz2
Switch base to using CHECK_*.
Review URL: http://codereview.chromium.org/660357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test')
-rw-r--r--base/test/test_file_util_win.cc4
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));
}