From 2c2fbd828ca474671bb9e03681b30b115d8d6035 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 15:57:02 -0600 Subject: Actually move the kde files that were renamed in the last commit --- libtdepim/tests/test_kregexp.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libtdepim/tests/test_kregexp.cpp (limited to 'libtdepim/tests/test_kregexp.cpp') diff --git a/libtdepim/tests/test_kregexp.cpp b/libtdepim/tests/test_kregexp.cpp new file mode 100644 index 000000000..511687d07 --- /dev/null +++ b/libtdepim/tests/test_kregexp.cpp @@ -0,0 +1,16 @@ +#include +#include +#include + +int +main() +{ + KInstance app("# "); + + // test for http://bugs.kde.org/show_bug.cgi?id=54886 + KRegExp3 reg("^"); + TQString res = reg.replace(TQString::tqfromLatin1("Fun stuff"), + TQString::tqfromLatin1("[fun] ")); + kdDebug() << res << endl; + +} -- cgit v1.2.1