Skip to content

Commit e91d053

Browse files
authored
Merge pull request #47 from dgr/dgr-cleanup-readme
Update README.md with small fixups
2 parents dc4ada4 + 047a0a3 commit e91d053

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ will create a new file named `foo.cljc` in the test namespace. The
102102
test file will look like the following:
103103

104104
```
105-
(ns clojure.core-test.{{ns-name}}
105+
(ns clojure.core-test.foo
106106
(:require [clojure.test :as t :refer [deftest testing is are]]
107107
[clojure.core-test.portability #?(:cljs :refer-macros :default :refer) [when-var-exists]]))
108108
109-
(when-var-exists clojure.core/{{sym-name}}
110-
(deftest test-{{sym-name}}
109+
(when-var-exists clojure.core/foo
110+
(deftest test-foo
111111
;; `testing` sections are optional, depending on how you want to
112112
;; structure your tests. If you have a lot of tests and they group
113113
;; together in subgroups, then use `testing`. The `testing` form
@@ -122,7 +122,7 @@ Simply fill in test assertions and you're off and running.
122122

123123
Note: `new-test` takes care of converting various characters that
124124
might be problematic in file names to expanded versions. For instance
125-
"?" is converted to "questionmark" and "*" is converted to
125+
"?" is converted to "qmark" and "*" is converted to
126126
"star". Thus, you should always provide the name of the `clojure.core`
127127
symbol you want to test, not the file name or other name. You may need
128128
to quote or escape special characters when executing the command in

0 commit comments

Comments
 (0)