[unit test] Complete all providers unit tests #12
This commit is contained in:
@@ -1155,7 +1155,7 @@ static void get_pinned_files(i_provider &provider) {
|
|||||||
EXPECT_EQ(api_error::success,
|
EXPECT_EQ(api_error::success,
|
||||||
provider.set_item_meta("/nopin01.txt", META_PINNED, "false"));
|
provider.set_item_meta("/nopin01.txt", META_PINNED, "false"));
|
||||||
|
|
||||||
auto pinned = provider.get_pinned_files(pinned);
|
auto pinned = provider.get_pinned_files();
|
||||||
EXPECT_EQ(std::size_t(2U), pinned.size());
|
EXPECT_EQ(std::size_t(2U), pinned.size());
|
||||||
|
|
||||||
const auto has_path = [&](std::string_view path) {
|
const auto has_path = [&](std::string_view path) {
|
||||||
|
Reference in New Issue
Block a user