From 9e3cced91d76dea63088a2b83f634b61c9830439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Augusto=20Lissoni=20Lanjoni?= Date: Sun, 1 Dec 2024 20:53:37 -0300 Subject: [PATCH] fix: typo in instrumentation --- src/parenthesin/helpers/malli.clj | 2 +- test/integration/parenthesin/malli/router_test.clj | 2 +- test/integration/parenthesin/malli/system_test.clj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parenthesin/helpers/malli.clj b/src/parenthesin/helpers/malli.clj index 4154c57..0018031 100644 --- a/src/parenthesin/helpers/malli.clj +++ b/src/parenthesin/helpers/malli.clj @@ -9,7 +9,7 @@ (defn stop! [] (with-out-str (mi/unstrument!))) -(defn with-intrumentation +(defn with-instrumentation "Wraps f ensuring there has malli collect and instrument started before running it" [f] (start!) diff --git a/test/integration/parenthesin/malli/router_test.clj b/test/integration/parenthesin/malli/router_test.clj index ebba1b6..436d2c1 100644 --- a/test/integration/parenthesin/malli/router_test.clj +++ b/test/integration/parenthesin/malli/router_test.clj @@ -13,7 +13,7 @@ [state-flow.assertions.matcher-combinators :refer [match?]] [state-flow.core :as state-flow :refer [flow]])) -(use-fixtures :once helpers.malli/with-intrumentation) +(use-fixtures :once helpers.malli/with-instrumentation) (def test-routes [["/plus" diff --git a/test/integration/parenthesin/malli/system_test.clj b/test/integration/parenthesin/malli/system_test.clj index 855dd64..291b9bd 100644 --- a/test/integration/parenthesin/malli/system_test.clj +++ b/test/integration/parenthesin/malli/system_test.clj @@ -15,7 +15,7 @@ [state-flow.assertions.matcher-combinators :refer [match?]] [state-flow.core :as state-flow :refer [flow]])) -(use-fixtures :once helpers.malli/with-intrumentation) +(use-fixtures :once helpers.malli/with-instrumentation) (defn do-deposit! [{{{:keys [btc]} :body} :parameters