diff --git a/tests/test_search_epub.cpp b/tests/test_search_epub.cpp index e11cc6b..b28e562 100644 --- a/tests/test_search_epub.cpp +++ b/tests/test_search_epub.cpp @@ -53,7 +53,7 @@ SCENARIO("Searching EPUB files works") { try { - opts.raw = 1; + opts.raw = true; opts.context = 1; matches = epubgrep::search::search(epubfile, "href", opts); } @@ -127,7 +127,7 @@ SCENARIO("Searching EPUB files works") try { opts.raw = true; - opts.context = true; + opts.context = 1; matches = epubgrep::search::search(epubfile, "href", opts); } catch (const std::exception &)