summaryrefslogtreecommitdiffstats
path: root/base/sys_info_unittest.cc
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 15:55:47 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 15:55:47 +0000
commit8af455ad2a4bc2bfed9fbe3561697b42f6acf9c9 (patch)
treed36f65b7c136d6596d4815e6000429ab26230d36 /base/sys_info_unittest.cc
parent3f3666a17bd215d1edb410238818ae05227df023 (diff)
downloadchromium_src-8af455ad2a4bc2bfed9fbe3561697b42f6acf9c9.zip
chromium_src-8af455ad2a4bc2bfed9fbe3561697b42f6acf9c9.tar.gz
chromium_src-8af455ad2a4bc2bfed9fbe3561697b42f6acf9c9.tar.bz2
Fix Win32 unit tests broken by r10259.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_info_unittest.cc')
-rw-r--r--base/sys_info_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/sys_info_unittest.cc b/base/sys_info_unittest.cc
index ae86821..209d0b1 100644
--- a/base/sys_info_unittest.cc
+++ b/base/sys_info_unittest.cc
@@ -49,6 +49,7 @@ TEST_F(SysInfoTest, OperatingSystemVersionNumbers) {
&os_bugfix_version);
EXPECT_GT(os_major_version, 0);
EXPECT_GT(os_minor_version, 0);
- EXPECT_GT(os_bugfix_version, 0);
+ // On Windows, the bug fix version is set to 0.
+ EXPECT_GT(os_bugfix_version, -1);
}
#endif // OS_WIN || OS_MACOSX