From be4d8aecd0e5d34bd9c5fa73fbf9e5a461a41e86 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 7 Jun 2021 00:44:42 +0200 Subject: [PATCH] Mixed up types. --- tests/test_search_epub.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 &)