This commit is contained in:
parent
d7ad180721
commit
82193d529c
@ -155,9 +155,9 @@ SCENARIO("Searching EPUB files works")
|
||||
REQUIRE(matches.at(2).context.second
|
||||
== R"(="start.xhtml" id="start")");
|
||||
REQUIRE(matches.at(3).filepath == "metadata.opf");
|
||||
REQUIRE(matches.at(3).context.first == R"(<item id="nav")");
|
||||
REQUIRE(matches.at(3).context.first == R"(id="nav" )");
|
||||
REQUIRE(matches.at(3).context.second
|
||||
== R"(="nav.html" )"
|
||||
== R"(="nav.xhtml" )"
|
||||
R"(media-type="application/xhtml+xml")");
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ SCENARIO("Searching ZIP files works")
|
||||
REQUIRE(matches.at(0).filepath == "test folder/😊");
|
||||
REQUIRE(matches.at(0).text == "📗");
|
||||
REQUIRE(matches.at(0).context.first == "📖\n\n📘");
|
||||
REQUIRE(matches.at(0).context.second == "📙\n");
|
||||
REQUIRE(matches.at(0).context.second == "📙");
|
||||
}
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ SCENARIO("Searching ZIP files works")
|
||||
REQUIRE(matches.at(10).filepath == "test folder/😊");
|
||||
REQUIRE(matches.at(10).text == "\n");
|
||||
REQUIRE(matches.at(10).context.first == "📖");
|
||||
REQUIRE(matches.at(10).context.second == "\n📘📗📙\n");
|
||||
REQUIRE(matches.at(10).context.second == "\n📘📗📙");
|
||||
REQUIRE(matches.at(12).filepath == "test folder/😊");
|
||||
REQUIRE(matches.at(12).text == "\n");
|
||||
REQUIRE(matches.at(12).context.first == "📘📗📙");
|
||||
|
Loading…
x
Reference in New Issue
Block a user