common/Util.hpp | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 0d8912ffe9f11baf6a14c21742d22af594ec7504
Author: Tor Lillqvist <[email protected]>
AuthorDate: Wed Oct 17 11:55:19 2018 +0300
Commit: Tor Lillqvist <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits