summaryrefslogtreecommitdiffstats
path: root/libtdepim/tests/test_kregexp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
commit2c2fbd828ca474671bb9e03681b30b115d8d6035 (patch)
tree526a9da418f8d3d7ccf515c37048d3dfc80f2843 /libtdepim/tests/test_kregexp.cpp
parentf0610eece3676b6fe99f42cf4ef2b19a39a5c4e8 (diff)
downloadtdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.tar.gz
tdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'libtdepim/tests/test_kregexp.cpp')
-rw-r--r--libtdepim/tests/test_kregexp.cpp16
1 files changed, 16 insertions, 0 deletions
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 <kregexp3.h>
+#include <kdebug.h>
+#include <kinstance.h>
+
+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;
+
+}