Add more dired-x tests
* test/lisp/dired-x-tests.el (dired-x--string-to-number): Add more tests with various thousands separators.
This commit is contained in:
parent
7558e83097
commit
c8b72ad0ea
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@
|
|||
(should (= (dired-x--string-to-number "2400") 2400))
|
||||
(should (= (dired-x--string-to-number "123.4M") 129394278.4))
|
||||
(should (= (dired-x--string-to-number "123.40000M") 129394278.4))
|
||||
(should (= (dired-x--string-to-number "4.134") 4134)))
|
||||
(should (= (dired-x--string-to-number "4.134") 4134))
|
||||
(should (= (dired-x--string-to-number "4,134") 4134))
|
||||
(should (= (dired-x--string-to-number "4 134") 4134))
|
||||
(should (= (dired-x--string-to-number "41,52,134") 4152134)))
|
||||
|
||||
(provide 'dired-x-tests)
|
||||
;;; dired-x-tests.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue