Skip to content

Commit

Permalink
found a bug in feminizer.core
Browse files Browse the repository at this point in the history
This regex work is a real time-sink.
  • Loading branch information
JackDanger committed Oct 25, 2012
1 parent a240d09 commit b74d3c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion clojure/spec/feminizer/core_spec.clj
Expand Up @@ -13,7 +13,12 @@
(should= "ovaries, not testes"
(feminize "testes, not ovaries"))
; check the round-trip
(should= "ovaries, not testes" (feminize (feminize "ovaries, not testes")))))
(should= "ovaries, not testes" (feminize (feminize "ovaries, not testes"))))
(it "translates forms even when they're adjacent"
(learn "king" "queen")
(learn "son" "daughter")
(should= "queen daughter"
(feminize "king son"))))

(describe "forget"
(it "removes from the known forms"
Expand Down

0 comments on commit b74d3c3

Please sign in to comment.