summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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