]> git.lyx.org Git - lyx.git/commitdiff
Regression test for #7442.
authorTommaso Cucinotta <tommaso@lyx.org>
Thu, 14 Apr 2011 22:21:18 +0000 (22:21 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Thu, 14 Apr 2011 22:21:18 +0000 (22:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38384 a592a061-630c-0410-9148-cb99ea01b6c8

development/autotests/findadv-12-in.txt [new file with mode: 0644]

diff --git a/development/autotests/findadv-12-in.txt b/development/autotests/findadv-12-in.txt
new file mode 100644 (file)
index 0000000..44dcd00
--- /dev/null
@@ -0,0 +1,12 @@
+# Replacing the last buffer element with some math that matches
+# again the search pattern, should not result in a double replacement
+# (#7442)
+#
+Lang it_IT.utf8
+TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+KK: a\C\[Home]
+KK: \CF
+KK: a\[Tab]
+KK: \Cm\\bar a\[Return]\[Return]
+TestEnd
+Assert ! pcregrep -M 'against.*bar' lyx-log.txt