aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorPhilipp Stephani2019-05-05 01:23:44 +0200
committerPhilipp Stephani2019-05-05 01:34:07 +0200
commite95ecbe14681d86cb4ddd17edbb77559fdc9bc09 (patch)
tree61ce9dbd588416416af383612871b1bd60b760af /test/src
parent27a9377d4235462ba61e51fdb1239b61133b5aee (diff)
downloademacs-e95ecbe14681d86cb4ddd17edbb77559fdc9bc09.tar.gz
emacs-e95ecbe14681d86cb4ddd17edbb77559fdc9bc09.zip
Use extract_time in test module.
* test/data/emacs-module/mod-test.c (Fmod_test_sleep_until): Use extract_time for time argument. (signal_wrong_type_argument): Remove unused function. * test/src/emacs-module-tests.el (mod-test-sleep-until): Remove unnecessary ‘float-time’.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/emacs-module-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 60ba71c57b9..5349de055ed 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -313,7 +313,7 @@ Interactively, you can try hitting \\[keyboard-quit] to quit."
313 ;; Interactively, run for 5 seconds to give the 313 ;; Interactively, run for 5 seconds to give the
314 ;; user time to quit. In batch mode, run only 314 ;; user time to quit. In batch mode, run only
315 ;; briefly since the user can't quit. 315 ;; briefly since the user can't quit.
316 (float-time (time-add nil (if noninteractive 0.1 5))) 316 (time-add nil (if noninteractive 0.1 5))
317 ;; should_quit or process_input 317 ;; should_quit or process_input
318 arg)) 318 arg))
319 'finished)) 319 'finished))