lyx_mirror/development/autotests/findadv-re-05-in.txt
Kornel Benko 948020d9a3 Keytests: Make logfiles unique.
Each test created log-files, but since they were not uniq it was difficult
to check what went wrong for a failed test.
2017-05-07 13:45:48 +02:00

19 lines
910 B
Plaintext

# Finding regexps within \frac{}
# From what I understand, the point of the test is that search should _not_
# match in this case because "ignore format" is checked by default. Thus, a
# way of testing that there was no match is to check whether the wrap around
# message shows up, because the cursor is initially at the beginning so that
# would mean that the entire buffer was checked. This test is still fragile:
# It will fail if the Italian translation changes, if "ignore format" is
# unchecked by default, or if the wrap-around mechanism changes (e.g. does not
# ask if the cursor started at the beginning of the buffer).
Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-05.loga.txt 2>&1
KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
KK: \CF
KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]
TestEnd
Lang C
Assert pcregrep 'raggiunta la fine cercando in avanti' findadv-re-05.loga.txt