Permalink
Browse files

Move navi2ch-http-date test code.

navi2ch-http-date.el にあったテストコードを ert を使うようにして移動した。
  • Loading branch information...
naota committed Sep 14, 2010
1 parent d0d45e1 commit bf279d837ee7ee67226706e7e6dd260432263df3
Showing with 4 additions and 13 deletions.
  1. +4 −0 ChangeLog
  2. +0 −13 navi2ch-http-date.el
View
@@ -1,3 +1,7 @@
+2010-09-14 Naohiro Aota <naota@elisp.net>
+
+ * navi2ch-http-date.el : テストコードを test/test.el に移動。
+
2010-08-11 MIZUNUMA Yuto <mizmiz@users.sourceforge.net>
* navi2ch-p2.el (navi2ch-p2-login-url, navi2ch-p2-cookie-domain)
View
@@ -112,17 +112,4 @@
(aref now 2) (aref now 1) (aref now 0)
(aref now 6))))
-;; $B%F%9%H(B
-(eval-when-compile
- (let ((expected "Sun, 06 Nov 1994 08:49:37 GMT"))
- (assert (string= expected (navi2ch-http-date-encode
- (navi2ch-http-date-decode
- "Sun, 06 Nov 1994 08:49:37 GMT"))))
- (assert (string= expected (navi2ch-http-date-encode
- (navi2ch-http-date-decode
- "Sunday, 06-Nov-94 08:49:37 GMT"))))
- (assert (string= expected (navi2ch-http-date-encode
- (navi2ch-http-date-decode
- "Sun Nov 6 08:49:37 1994"))))))
-
;;; navi2ch-http-date.el ends here

0 comments on commit bf279d8

Please sign in to comment.