Permalink
Browse files

Correct code comment

  • Loading branch information...
1 parent 47eeb54 commit bd148778e43fcde1aa7289e5cfade35cf7303eb3 @semperos committed Nov 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/clj_webdriver/test/util.clj
@@ -45,7 +45,7 @@
(defmacro deftest-template-param
"Create two deftest's for the price of one. Every instance of `__` in the body of this macro will be (1) replaced with `optional-param` for one deftest definition and (2) will be deleted for the other deftest definition generated by this macro. If there are no replacements to be made, the macro will not produce an extra deftest.
- Note: Though this macro looks like it fills the same role as clojure.template/apply-template, the apply-template macro can only replace templated values with other values. We do that (using the same prewalk-replace that apply-template uses), but we also produce a deftest form that completely removes the templated portion, since the intention is to template in an optional argument to functions.
+ Note: Though this macro looks like it fills the same role as clojure.template/apply-template, the apply-template macro can only replace templated values with other values. We do that (using apply-template), but we also produce a deftest form that completely removes the templated portion, since the intention is to template in an optional argument to functions.
Example:
(deftest-template-param test-attribute my-driver

0 comments on commit bd14877

Please sign in to comment.