From 23258f5399b1f0abaa0f238b2886fe6289507fda Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Thu, 14 Apr 2011 22:21:18 +0000 Subject: [PATCH] Regression test for #7442. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38384 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/autotests/findadv-12-in.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 development/autotests/findadv-12-in.txt 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