diff --git a/test/feh-i.t b/test/feh-i.t
index 0adc77472062ad32e34a448cac27c79da5236b81..ff247a204d4c5636dc73de8a31c9094353ca8108 100755
--- a/test/feh-i.t
+++ b/test/feh-i.t
@@ -125,9 +125,9 @@ test_win_title( $win, 'feh [1 of 3] - test/ok/png' );
 SendKeys('p');
 test_win_title( $win, 'feh [3 of 3] - test/ok/gif' );
 SendKeys('{DEL}');
-test_win_title( $win, 'feh [1 of 2] - test/ok/png' );
+test_win_title( $win, 'feh [2 of 2] - test/ok/jpg' );
 SendKeys('{DEL}');
-test_win_title( $win, 'feh [1 of 1] - test/ok/jpg' );
+test_win_title( $win, 'feh [1 of 1] - test/ok/png' );
 SendKeys('{DEL}');
 test_no_win("Removed all images from slideshow");