Skip to content

Commit

Permalink
Remove unused test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Apr 28, 2021
1 parent 7e762c3 commit 187ea4e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/find.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,6 @@ TEST(FindTests, ByTitle)
}
}

#if 0
// By Path (compatibility)
TEST(FindTests, ByPathNoNS)
{
zim::Archive archive (getDataFilePath("wikibooks_be_all_nopic_2017-02.zim"));

auto it1 = archive.findByPath("j/body.js");
auto it2 = archive.findByPath("m/115a35549794e50dcd03e60ef1a1ae24.png");
ASSERT_EQ(it1->getIndex(), 1);
ASSERT_EQ(it2->getIndex(), 76);
}
#endif

// By Path
TEST(FindTests, ByPath)
{
Expand Down

0 comments on commit 187ea4e

Please sign in to comment.