From cc37d469f4bd5031a6b76e8c80123e8a81b84571 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Mon, 29 Jan 2024 12:43:57 +0100 Subject: [PATCH] [nop] Update Encore API --- src/taoensso/truss.cljc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/taoensso/truss.cljc b/src/taoensso/truss.cljc index 32989c9..5eaa66e 100644 --- a/src/taoensso/truss.cljc +++ b/src/taoensso/truss.cljc @@ -116,8 +116,8 @@ (macroexpand '(have string? 5)) (macroexpand '(have string? 5 :data "foo")) - (macroexpand '(have string? 5 :data (enc/get-env))) - (let [x :x] (have string? 5 :data (enc/get-env))) + (macroexpand '(have string? 5 :data (enc/get-locals))) + (let [x :x] (have string? 5 :data (enc/get-locals))) (have string? 5) (have string? 5 :data {:a "a"}) @@ -125,7 +125,7 @@ ((fn [x] (let [a "a" b "b"] - (have string? x :data {:env (enc/get-env)}))) 5) + (have string? x :data {:env (enc/get-locals)}))) 5) (do (set! *assert* false)