(test-elmo-replace-string-as-filename-1): New testcase.
2001-08-28 TAKAHASHI Kaoru <kaoru@kaisei.org>
+ * test-elmo-util.el: New file
+ (test-elmo-replace-string-as-filename-1): New testcase.
+
* test-dist.el: New file.
(test-wl-modules-exists, test-elmo-modules-exists)
(test-util-modules-exists, test-wl-icon-exists)
--- /dev/null
+(require 'lunit)
+(require 'elmo-util)
+
+(luna-define-class test-elmo-util (lunit-test-case))
+
+(luna-define-method test-elmo-replace-string-as-filename-1 ((case test-elmo-util))
+ (lunit-assert
+ (let ((str "/foo//./../bar/"))
+ (string= str
+ (elmo-recover-string-from-filename
+ (elmo-replace-string-as-filename str))))))