fix test
This commit is contained in:
		| @@ -50,10 +50,17 @@ TYPED_TEST(winfsp_test, volume_can_get_volume_info) { | |||||||
|             flags); |             flags); | ||||||
|   EXPECT_EQ(255U, max_component_length); |   EXPECT_EQ(255U, max_component_length); | ||||||
|   EXPECT_EQ(0U, serial_num); |   EXPECT_EQ(0U, serial_num); | ||||||
|   EXPECT_STREQ( |   if (this->current_provider == provider_type::unknown) { | ||||||
|       ("repertory_" + app_config::get_provider_name(this->current_provider)) |     EXPECT_STREQ( | ||||||
|           .c_str(), |         ("repertory_" + app_config::get_provider_name(provider_type::sia)) | ||||||
|       volume_label.c_str()); |             .c_str(), | ||||||
|  |         volume_label.c_str()); | ||||||
|  |   } else { | ||||||
|  |     EXPECT_STREQ( | ||||||
|  |         ("repertory_" + app_config::get_provider_name(this->current_provider)) | ||||||
|  |             .c_str(), | ||||||
|  |         volume_label.c_str()); | ||||||
|  |   } | ||||||
|   EXPECT_STREQ(this->mount_location.c_str(), fs_name.c_str()); |   EXPECT_STREQ(this->mount_location.c_str(), fs_name.c_str()); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user