Mixed up types.

This commit is contained in:
tastytea 2021-06-07 00:44:42 +02:00
parent 1c8279f96f
commit be4d8aecd0
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -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 &)