diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-08-07 13:16:53 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-08-07 13:16:53 +0200 |
commit | 9c0da894b9e69c8cb216585c5de1361be2e51812 (patch) | |
tree | c4cf36276db260a3160fbd6b2f738da391fbe313 /test | |
parent | 321f33a2b111c3c0ea1246ffa705d2cc9e8e9242 (diff) | |
download | emacs-9c0da894b9e69c8cb216585c5de1361be2e51812.tar.gz emacs-9c0da894b9e69c8cb216585c5de1361be2e51812.tar.bz2 emacs-9c0da894b9e69c8cb216585c5de1361be2e51812.zip |
; Improve time-convert call in recently changed test
* test/lisp/eshell/em-pred-tests.el
(eshell-parse-file-name-attributes): Use t instead of nil as
second argument to 'time-convert'.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/eshell/em-pred-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/eshell/em-pred-tests.el b/test/lisp/eshell/em-pred-tests.el index ef31a5d1473..0d6351ec826 100644 --- a/test/lisp/eshell/em-pred-tests.el +++ b/test/lisp/eshell/em-pred-tests.el @@ -75,7 +75,7 @@ The following attributes are recognized: (`(,(and (or "links" "uid" "gid" "size") key) ,value) (cons (intern key) (string-to-number value))) (`(,(and (or "atime" "mtime" "ctime") key) ,value) - (cons (intern key) (time-convert (string-to-number value) nil))) + (cons (intern key) (time-convert (string-to-number value) t))) (`(,key ,value) (cons (intern key) value)) (_ (error "invalid format %S" i)))) |