diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/automated/auto-revert-tests.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/automated/auto-revert-tests.el b/test/automated/auto-revert-tests.el index a98428f7d89..204e03d423d 100644 --- a/test/automated/auto-revert-tests.el +++ b/test/automated/auto-revert-tests.el | |||
| @@ -173,8 +173,8 @@ | |||
| 173 | (null | 173 | (null |
| 174 | (string-match name (substring-no-properties (buffer-string))))) | 174 | (string-match name (substring-no-properties (buffer-string))))) |
| 175 | 175 | ||
| 176 | ;; When the dired buffer is modified, it shall not be | 176 | ;; Make dired buffer modified. Check, that the buffer has |
| 177 | ;; reverted. This is questionable, see Bug#20943. | 177 | ;; been still reverted. |
| 178 | (with-current-buffer (get-buffer-create "*Messages*") | 178 | (with-current-buffer (get-buffer-create "*Messages*") |
| 179 | (narrow-to-region (point-max) (point-max))) | 179 | (narrow-to-region (point-max) (point-max))) |
| 180 | (set-buffer-modified-p t) | 180 | (set-buffer-modified-p t) |
| @@ -189,7 +189,7 @@ | |||
| 189 | (format "Reverting buffer `%s'." (buffer-name buf)) | 189 | (format "Reverting buffer `%s'." (buffer-name buf)) |
| 190 | (buffer-string))) | 190 | (buffer-string))) |
| 191 | (read-event nil nil 0.1)))) | 191 | (read-event nil nil 0.1)))) |
| 192 | (should-not | 192 | (should |
| 193 | (string-match name (substring-no-properties (buffer-string)))))) | 193 | (string-match name (substring-no-properties (buffer-string)))))) |
| 194 | 194 | ||
| 195 | ;; Exit. | 195 | ;; Exit. |