Mixed up types.
This commit is contained in:
parent
1c8279f96f
commit
be4d8aecd0
@ -53,7 +53,7 @@ SCENARIO("Searching EPUB files works")
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
opts.raw = 1;
|
opts.raw = true;
|
||||||
opts.context = 1;
|
opts.context = 1;
|
||||||
matches = epubgrep::search::search(epubfile, "href", opts);
|
matches = epubgrep::search::search(epubfile, "href", opts);
|
||||||
}
|
}
|
||||||
@ -127,7 +127,7 @@ SCENARIO("Searching EPUB files works")
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
opts.raw = true;
|
opts.raw = true;
|
||||||
opts.context = true;
|
opts.context = 1;
|
||||||
matches = epubgrep::search::search(epubfile, "href", opts);
|
matches = epubgrep::search::search(epubfile, "href", opts);
|
||||||
}
|
}
|
||||||
catch (const std::exception &)
|
catch (const std::exception &)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user