This commit is contained in:
Scott E. Graves 2025-04-15 09:43:41 -05:00
parent 2362300bba
commit 65036f2957

View File

@ -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());
} }