+2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * test-dist.el (test-refcard-version): New testcases.
+
2001-11-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
* check-base64.el (toplevel): Remove (require 'wl).
(insert-file-contents (expand-file-name "version.texi" DOCDIR))
(re-search-forward "^@set VERSION \\([0-9\.]+\\)$")
(match-string 1)))))
+
+;; wl-refcard.tex
+(luna-define-method test-refcard-version ((case test-dist))
+ (require 'wl-version)
+ (lunit-assert
+ (string=
+ (product-version-string (product-find 'wl-version))
+ (with-temp-buffer
+ (insert-file-contents (expand-file-name "wl-refcard.tex" DOCDIR))
+ (re-search-forward "^\\\\def\\\\versionnumber{\\([0-9\.]+\\)}$")
+ (match-string 1)))))