[#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
|
||||
(require '[taoensso.timbre :as timbre]
|
||||
'[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)
|
||||
(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
|
||||
nil
|
||||
program)
|
||||
|
|
|
|||
Loading…
Reference in a new issue