* automated/occur-tests.el (occur-test-case, occur-test-create):
In case of failure, show the actual string, rather than just nil.
+ (occur-tests): Update for apparent change in output re control-chars.
2014-11-17 Ulf Jasper <ulf.jasper@web.de>
a
a
" "\
-2 matches for \"a^Ja\" in buffer: *test-occur*
+2 matches for \"a\na\" in buffer: *test-occur*
1:a
:a
3:a
a
b
" "\
-2 matches for \"a^Jb\" in buffer: *test-occur*
+2 matches for \"a\nb\" in buffer: *test-occur*
1:a
:b
4:a
a
" "\
-2 matches for \"a^J\" in buffer: *test-occur*
+2 matches for \"a\n\" in buffer: *test-occur*
1:a
:
4:a
ex
fx
" "\
-2 matches for \"x^J.x^J\" in buffer: *test-occur*
+2 matches for \"x\n.x\n\" in buffer: *test-occur*
1:ax
:bx
:c
jx
kx
" "\
-3 matches for \"x^J.x\" in buffer: *test-occur*
+3 matches for \"x\n.x\" in buffer: *test-occur*
1:ax
:bx
:c
gx
hx
" "\
-2 matches for \"x^J.x\" in buffer: *test-occur*
+2 matches for \"x\n.x\" in buffer: *test-occur*
1:ax
:bx
:c