[#935] Fix logging test for windows
This commit is contained in:
parent
3d45f62dd2
commit
36ab5ab299
1 changed files with 2 additions and 2 deletions
|
|
@ -60,10 +60,10 @@
|
||||||
program (pr-str '(do
|
program (pr-str '(do
|
||||||
(require '[taoensso.timbre :as timbre]
|
(require '[taoensso.timbre :as timbre]
|
||||||
'[clojure.string :as str])
|
'[clojure.string :as str])
|
||||||
(def appender (timbre/spit-appender {:fname "{{fname}}"}))
|
(def appender (timbre/spit-appender {:fname :fname-placeholder}))
|
||||||
(timbre/swap-config! assoc-in [:appenders :spit] appender)
|
(timbre/swap-config! assoc-in [:appenders :spit] appender)
|
||||||
(str/includes? (with-out-str (timbre/info "hello")) "hello")))
|
(str/includes? (with-out-str (timbre/info "hello")) "hello")))
|
||||||
program (str/replace program "{{fname}}" (str temp-file))
|
program (str/replace program ":fname-placeholder" (pr-str (.getPath temp-file)))
|
||||||
_ (tu/bb
|
_ (tu/bb
|
||||||
nil
|
nil
|
||||||
program)
|
program)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue