[Libreoffice-commits] online.git: common/Util.hpp

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 17 08:55:57 UTC 2018


 common/Util.hpp |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 0d8912ffe9f11baf6a14c21742d22af594ec7504
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Oct 17 11:55:19 2018 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Oct 17 11:55:19 2018 +0300

    Test also looking for the last char

diff --git a/common/Util.hpp b/common/Util.hpp
index 29258efdb..190fc6edf 100644
--- a/common/Util.hpp
+++ b/common/Util.hpp
@@ -382,6 +382,10 @@ int main(int argc, char**argv)
   TEST("abc", 'b', 1, NULL);
   TEST("abc", 'b', 2, s+1);
   TEST("abc", 'b', 3, s+1);
+  TEST("abc", 'c', 0, NULL);
+  TEST("abc", 'c', 1, NULL);
+  TEST("abc", 'c', 2, NULL);
+  TEST("abc", 'c', 3, s+2);
 
   if (success)
     return 0;


More information about the Libreoffice-commits mailing list