Permalink
Browse files

Add test for ttname

  • Loading branch information...
Paul Woolcock
Paul Woolcock committed Feb 22, 2012
1 parent 8b17e64 commit dcb2333e1e5c6e50239deae1eac594675fd85e07
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/tracker/test/core.clj
@@ -2,5 +2,6 @@
(:use [tracker.core])
(:use [clojure.test]))
-(deftest replace-me ;; FIXME: write
- (is false "No tests have been written."))
+(deftest ttname-test
+ (is (= ".tasks-times.csv" (ttname ".tasks")))
+ (is (= "tasks-times.csv" (ttname "tasks.txt"))))

0 comments on commit dcb2333

Please sign in to comment.