From: Tommaso Cucinotta Date: Thu, 14 Apr 2011 22:21:18 +0000 (+0000) Subject: Regression test for #7442. X-Git-Tag: 2.0.0~125 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=23258f5399b1f0abaa0f238b2886fe6289507fda;p=lyx.git Regression test for #7442. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38384 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/autotests/findadv-12-in.txt b/development/autotests/findadv-12-in.txt new file mode 100644 index 0000000000..44dcd00e69 --- /dev/null +++ b/development/autotests/findadv-12-in.txt @@ -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