qt5/tests/check_search.cpp |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 715878e8906155045e6219018af433ec67be74cc
Author: Albert Astals Cid <[email protected]>
Date:   Tue Jan 28 23:53:04 2020 +0100

    qt5: Add deseret lowercase search test
    
    Or at least i think this is the lowercase one, at least this is the
    different case than the one on the actual file

diff --git a/qt5/tests/check_search.cpp b/qt5/tests/check_search.cpp
index 2808a37f..11f11dc7 100644
--- a/qt5/tests/check_search.cpp
+++ b/qt5/tests/check_search.cpp
@@ -273,6 +273,9 @@ void TestSearch::testDeseretSearch()
 
     const QString str = QString::fromUtf8("ππ―π‘Šπ¬"); 
//clazy:exclude=qstring-allocations
     QCOMPARE( page->search(str, l, t, r, b, Poppler::Page::FromTop, 
Poppler::Page::NoSearchFlags), true );
+
+    const QString str2 = QString::fromUtf8("πΈπ―π‘Šπ¬"); 
//clazy:exclude=qstring-allocations
+    QCOMPARE( page->search(str2, l, t, r, b, Poppler::Page::FromTop,  
Poppler::Page::IgnoreCase), true );
 }
 
 QTEST_GUILESS_MAIN(TestSearch)
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to