Index: omaha_request_params_unittest.cc |
diff --git a/omaha_request_params_unittest.cc b/omaha_request_params_unittest.cc |
index c136e06ecabbac31b38206884e3f6474b831223a..65d86cbc3de87f940cd92c111ba76556ff95a29b 100644 |
--- a/omaha_request_params_unittest.cc |
+++ b/omaha_request_params_unittest.cc |
@@ -325,11 +325,13 @@ TEST_F(OmahaRequestDeviceParamsTest, SetTrackInvalidTest) { |
TEST_F(OmahaRequestDeviceParamsTest, IsValidTrackTest) { |
params_.SetBuildTypeOfficial(true); |
+ EXPECT_TRUE(params_.IsValidTrack("canary-channel")); |
EXPECT_TRUE(params_.IsValidTrack("beta-channel")); |
EXPECT_TRUE(params_.IsValidTrack("dev-channel")); |
EXPECT_FALSE(params_.IsValidTrack("some-channel")); |
EXPECT_FALSE(params_.IsValidTrack("")); |
params_.SetBuildTypeOfficial(false); |
+ EXPECT_TRUE(params_.IsValidTrack("canary-channel")); |
EXPECT_TRUE(params_.IsValidTrack("beta-channel")); |
EXPECT_TRUE(params_.IsValidTrack("dev-channel")); |
EXPECT_TRUE(params_.IsValidTrack("some-channel")); |