aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2020-01-16 07:50:22 -0800
committerGlenn Morris2020-01-16 07:50:22 -0800
commit215d9fcb79b6ec3c241f58fdff02bf15fb952d0c (patch)
tree00b960d85395a10dd1831fef0fe73cb515dbbf11 /test
parent0f4fa004ebbcf8796abab26988e79b01ba4f2ab5 (diff)
parent52080b5778cbe535c331fa14539aecd88f2be0a0 (diff)
downloademacs-215d9fcb79b6ec3c241f58fdff02bf15fb952d0c.tar.gz
emacs-215d9fcb79b6ec3c241f58fdff02bf15fb952d0c.zip
Merge from origin/emacs-27
52080b5778 (origin/emacs-27) * lisp/minibuffer.el (read-file-name-def... e4cec1fd10 ; * etc/NEWS: Fix some file name quotations. 13995f31a2 Make emacs prefer an existing ~/.emacs.d to an existing XD... 91cac24952 ; etc/NEWS minor edits 5505babc07 Describe --with-cairo non-support for bitmapped fonts. caf00066ee Mention GTK font chooser changes in NEWS 23b87db628 ; Unmaintain fortran elisp 3b0d1a50aa f90: handle F2008 module function 55803cc189 Move shell-related menu items to "Shell Commands" submenu ... 2be48605c0 * admin/notes/font-backend: Remove outdated file. (Bug#34663) f07a470124 Declare the ftx font backend driver obsolete 6c08a430fb ; Fix wording of a comment. # Conflicts: # admin/notes/font-backend # etc/NEWS
Diffstat (limited to 'test')
-rw-r--r--test/lisp/progmodes/f90-tests.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/lisp/progmodes/f90-tests.el b/test/lisp/progmodes/f90-tests.el
index 540082c7174..b6fbac351dc 100644
--- a/test/lisp/progmodes/f90-tests.el
+++ b/test/lisp/progmodes/f90-tests.el
@@ -277,4 +277,24 @@ end program prog")
277 (forward-line -2) 277 (forward-line -2)
278 (should (= 2 (current-indentation))))) ; type is 278 (should (= 2 (current-indentation))))) ; type is
279 279
280(ert-deftest f90-test-bug38415 ()
281 "Test for https://debbugs.gnu.org/38415 ."
282 (with-temp-buffer
283 (f90-mode)
284 (setq-local f90-smart-end 'no-blink)
285 (insert "module function foo(x)
286real :: x
287end")
288 (f90-indent-line)
289 (should (equal " function foo"
290 (buffer-substring (point) (line-end-position))))
291 (goto-char (point-max))
292 (insert "\nmodule subroutine bar(x)
293real :: x
294end")
295 (f90-indent-line)
296 (should (equal " subroutine bar"
297 (buffer-substring (point) (line-end-position))))))
298
299
280;;; f90-tests.el ends here 300;;; f90-tests.el ends here