@@ -305,7 +305,7 @@ good practice to use the `duct.test/with-system` macro. This will
305
305
(is (= "Hello World\nGoodbye.\n"
306
306
(with-out-str
307
307
(dt/with-system [_sys (dt/run)]
308
- (println "Goodbye.")))))
308
+ (println "Goodbye."))))))
309
309
----
310
310
311
311
As `--test` uses Kaocha under the hood, you can customize how the tests
@@ -337,7 +337,7 @@ your `deps.edn` file.
337
337
[,clojure]
338
338
----
339
339
{:deps {org.clojure/clojure {:mvn/version "1.12.1"}
340
- org.duct-framework/main {:mvn/version "0.2.1"}
340
+ org.duct-framework/main {:mvn/version "0.2.1"}}
341
341
:aliases
342
342
{:duct {:main-opts ["-m" "duct.main"]}
343
343
:test {:extra-deps {org.duct-framework/test {:mvn/version "0.1.0"}}}}}
@@ -470,7 +470,7 @@ level. This is a high-priority level that should be used sparingly, as
470
470
it also prints to STDOUT when using the REPL.
471
471
472
472
You may have noticed that we've replaced the `"Hello World"` string with
473
- a keyword and a map: `::name {:name "World"}`. This is because Duct is
473
+ a keyword and a map: `::hello {:name "World"}`. This is because Duct is
474
474
opinionated about logs being data, rather than human-readable strings. A
475
475
Duct log message consists of an *event*, a qualified keyword, and a map
476
476
of *event data*, which provides additional information.
0 commit comments