summaryrefslogtreecommitdiffstats
path: root/chrome/test/mini_installer_test/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/mini_installer_test/test.cc')
-rw-r--r--chrome/test/mini_installer_test/test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/mini_installer_test/test.cc b/chrome/test/mini_installer_test/test.cc
index 9020bcb..bf86630 100644
--- a/chrome/test/mini_installer_test/test.cc
+++ b/chrome/test/mini_installer_test/test.cc
@@ -14,7 +14,7 @@ class MiniInstallTest : public testing::Test {
virtual void SetUp() {
ChromeMiniInstaller userinstall(mini_installer_constants::kUserInstall);
userinstall.UnInstall();
- if (win_util::GetWinVersion() != win_util::WINVERSION_VISTA) {
+ if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
ChromeMiniInstaller systeminstall(
mini_installer_constants::kSystemInstall);
systeminstall.UnInstall();
@@ -34,7 +34,7 @@ TEST_F(MiniInstallTest, MiniInstallerOverChromeMetaInstallerTest) {
}
TEST_F(MiniInstallTest, MiniInstallerSystemInstallTest) {
- if (win_util::GetWinVersion() != win_util::WINVERSION_VISTA) {
+ if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
ChromeMiniInstaller installer(mini_installer_constants::kSystemInstall);
installer.InstallMiniInstaller();
}